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

Fix Regextests

- One of the bug316338 test cases is expected to succeed.
- Memory leak in testRegexp.c.
- Refcount handling in xmlExpHashGetEntry.
This commit is contained in:
Nick Wellnhofer
2019-09-25 15:27:45 +02:00
parent c2b0a184a9
commit 99a864a1f7
3 changed files with 4 additions and 4 deletions

View File

@ -6629,7 +6629,7 @@ xmlExpHashGetEntry(xmlExpCtxtPtr ctxt, xmlExpNodeType type,
/* OR reduction rule 1 */
/* a | a reduced to a */
if (left == right) {
left->ref--;
xmlExpFree(ctxt, right);
return(left);
}
/* OR canonicalization rule 1 */