bug in xmlRegExecPushString2() pointed out by Sreeni Nair. Daniel
* xmlregexp.c: bug in xmlRegExecPushString2() pointed out by
Sreeni Nair.
Daniel
diff --git a/ChangeLog b/ChangeLog
index 8b2d592..512bc93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Dec 28 22:12:34 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+ * xmlregexp.c: bug in xmlRegExecPushString2() pointed out by
+ Sreeni Nair.
+
Tue Dec 20 16:55:31 CET 2005 Rob Richards <rrichards@ctindustries.net>
* tree.c: fix bug #322136 in xmlNodeBufGetContent when entity ref is
diff --git a/xmlregexp.c b/xmlregexp.c
index 97e9be7..55b0954 100644
--- a/xmlregexp.c
+++ b/xmlregexp.c
@@ -3679,7 +3679,7 @@
ret = xmlRegExecPushStringInternal(exec, str, data, 1);
if (str != buf)
- xmlFree(buf);
+ xmlFree(str);
return(ret);
}