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:
@ -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 */
|
||||
|
Reference in New Issue
Block a user