summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/imagemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/imagemap.c b/render/imagemap.c
index 9663a89f5..bf90443c4 100644
--- a/render/imagemap.c
+++ b/render/imagemap.c
@@ -450,7 +450,7 @@ imagemap_addtolist(dom_node *n, nsurl *base_url,
/* If not 'default' and there's no 'coords' give up */
exc = dom_element_get_attribute(n, corestring_dom_coords,
&coords);
- if (exc != DOM_NO_ERR) {
+ if (exc != DOM_NO_ERR || coords == NULL) {
goto ok_out;
}
}