summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--render/imagemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/imagemap.c b/render/imagemap.c
index 379d6583d..e50ed6cb6 100644
--- a/render/imagemap.c
+++ b/render/imagemap.c
@@ -141,7 +141,7 @@ bool imagemap_create(html_content *c)
assert(c != NULL);
if (c->imagemaps == NULL) {
- c->imagemaps = calloc(HASH_SIZE, sizeof(struct imagemap));
+ c->imagemaps = calloc(HASH_SIZE, sizeof(struct imagemap *));
if (c->imagemaps == NULL) {
return false;
}