1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

bug in xmlRegExecPushString2() pointed out by Sreeni Nair. Daniel

* xmlregexp.c: bug in xmlRegExecPushString2() pointed out by
  Sreeni Nair.
Daniel
This commit is contained in:
Daniel Veillard
2005-12-28 21:13:33 +00:00
parent d95ecf0b8d
commit 0b1ff14bd0
2 changed files with 6 additions and 1 deletions

View File

@ -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);
}