aboutsummaryrefslogtreecommitdiff
path: root/src/html.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/html.cc')
-rw-r--r--src/html.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html.cc b/src/html.cc
index 6ae08f4a..f3d2bec0 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -644,7 +644,7 @@ void DilloHtml::loadImages (const DilloUrl *pattern)
for (int i = 0; i < images->size(); i++) {
DilloHtmlImage *hi = images->get(i);
- if (hi->image) {
+ if (hi->image && hi->url) {
if ((!pattern) || (!a_Url_cmp(hi->url, pattern))) {
if (Html_load_image(bw, hi->url, requester, hi->image)) {
a_Image_unref (hi->image);