[project @ 2004-04-13 15:54:15 by jmb]

Remove spurious xmlFree call

svn path=/import/netsurf/; revision=771
This commit is contained in:
John Mark Bell 2004-04-13 15:54:15 +00:00
parent 1df9d83656
commit e4c8adc2a2

View File

@ -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) {