Nikolay Sivov : msxml3: Don't leak externaly allocated xmlSAXHandler.
Alexandre Julliard
julliard at winehq.org
Mon Jan 11 15:59:34 CST 2010
Module: wine
Branch: master
Commit: e4d895c7eeca8448b3ebabc4aef72923c6c64090
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e4d895c7eeca8448b3ebabc4aef72923c6c64090
Author: Nikolay Sivov <bunglehead at gmail.com>
Date: Sun Jan 10 18:17:37 2010 +0300
msxml3: Don't leak externaly allocated xmlSAXHandler.
---
dlls/msxml3/saxreader.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c
index 90600eb..6cf95d1 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;
More information about the wine-cvs
mailing list