From e4d895c7eeca8448b3ebabc4aef72923c6c64090 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Sun, 10 Jan 2010 18:17:37 +0300 Subject: [PATCH] msxml3: Don't leak externaly allocated xmlSAXHandler. --- dlls/msxml3/saxreader.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c index 90600eb5a08..6cf95d116e4 100644 --- a/dlls/msxml3/saxreader.c +++ b/dlls/msxml3/saxreader.c @@ -1787,6 +1787,7 @@ static HRESULT internal_parseBuffer(saxreader *This, const char *buffer, int siz return E_FAIL; } + xmlFree(locator->pParserCtxt->sax); locator->pParserCtxt->sax = &locator->saxreader->sax; locator->pParserCtxt->userData = locator;