From 56f21f298e423d4ead893a97c4736004b309579a Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Wed, 6 Nov 2002 15:49:46 +0000 Subject: [PATCH] tried to fix bug #97852 reported by Nicolas Noffke Daniel * xpointer.c: tried to fix bug #97852 reported by Nicolas Noffke Daniel --- ChangeLog | 4 ++++ xpointer.c | 2 ++ 2 files changed, 6 insertions(+) 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,