diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2004-04-13 15:54:15 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2004-04-13 15:54:15 +0000 |
commit | e4c8adc2a2cd1a9fa1bfed24130da128594db059 (patch) | |
tree | f84064174bdbca332c8f405fc734d839021b9260 | |
parent | 1df9d83656ace6fdaa379b4029d64ae9ee19fdb5 (diff) | |
download | netsurf-e4c8adc2a2cd1a9fa1bfed24130da128594db059.tar.gz netsurf-e4c8adc2a2cd1a9fa1bfed24130da128594db059.tar.bz2 |
[project @ 2004-04-13 15:54:15 by jmb]
Remove spurious xmlFree call
svn path=/import/netsurf/; revision=771
-rw-r--r-- | desktop/imagemap.c | 1 |
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) { |