mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-22 09:24:15 +03:00
[project @ 2004-04-13 15:54:15 by jmb]
Remove spurious xmlFree call svn path=/import/netsurf/; revision=771
This commit is contained in:
parent
1df9d83656
commit
e4c8adc2a2
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user