summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/imagemap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/desktop/imagemap.c b/desktop/imagemap.c
index dbdb249c6..ffc850d65 100644
--- a/desktop/imagemap.c
+++ b/desktop/imagemap.c
@@ -259,7 +259,6 @@ struct mapentry *imagemap_addtolist(xmlNode *n, struct mapentry *entry) {
}
/* no shape -> shape is a rectangle */
if (!(shape = (char*)xmlGetProp(n, (const xmlChar*)"shape"))) {
- xmlFree(shape);
shape = (char*)xmlMemStrdup("rect");
}
if (strcasecmp(shape, "default") != 0) {