From e4c8adc2a2cd1a9fa1bfed24130da128594db059 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 13 Apr 2004 15:54:15 +0000 Subject: [project @ 2004-04-13 15:54:15 by jmb] Remove spurious xmlFree call svn path=/import/netsurf/; revision=771 --- desktop/imagemap.c | 1 - 1 file changed, 1 deletion(-) (limited to 'desktop') 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) { -- cgit v1.2.3