aboutsummaryrefslogtreecommitdiffstats
path: root/xmlregexp.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-12-28 21:13:33 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-12-28 21:13:33 +0000
commit0b1ff14bd0c7c50f8cdce96478615570e1435c4f (patch)
tree9ac9a6f340ec007cde00e174e0ed00f4c369e5f6 /xmlregexp.c
parentd95ecf0b8dca43728db354bf6e7434f96179080c (diff)
downloadandroid_external_libxml2-0b1ff14bd0c7c50f8cdce96478615570e1435c4f.tar.gz
android_external_libxml2-0b1ff14bd0c7c50f8cdce96478615570e1435c4f.tar.bz2
android_external_libxml2-0b1ff14bd0c7c50f8cdce96478615570e1435c4f.zip
bug in xmlRegExecPushString2() pointed out by Sreeni Nair. Daniel
* xmlregexp.c: bug in xmlRegExecPushString2() pointed out by Sreeni Nair. Daniel
Diffstat (limited to 'xmlregexp.c')
-rw-r--r--xmlregexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlregexp.c b/xmlregexp.c
index 97e9be76..55b09544 100644
--- a/xmlregexp.c
+++ b/xmlregexp.c
@@ -3679,7 +3679,7 @@ xmlRegExecPushString2(xmlRegExecCtxtPtr exec, const xmlChar *value,
ret = xmlRegExecPushStringInternal(exec, str, data, 1);
if (str != buf)
- xmlFree(buf);
+ xmlFree(str);
return(ret);
}