diff --git a/ChangeLog b/ChangeLog index 798fb6fe..f1af0218 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Nov 6 16:48:44 CET 2002 Daniel Veillard + + * xpointer.c: tried to fix bug #97852 reported by Nicolas Noffke + Sun Nov 3 10:43:44 CET 2002 Daniel Veillard * Makefile.am: switched the order of a couple of includes diff --git a/xpointer.c b/xpointer.c index b49073a7..4c4cf991 100644 --- a/xpointer.c +++ b/xpointer.c @@ -1021,6 +1021,8 @@ xmlXPtrEvalXPtrPart(xmlXPathParserContextPtr ctxt, xmlChar *name) { xmlXPathRegisterNs(ctxt->context, prefix, URI); CUR_PTR = left; + xmlFree(URI); + xmlFree(prefix); #endif /* XPTR_XMLNS_SCHEME */ } else { xmlGenericError(xmlGenericErrorContext,