mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
msxml3: Don't leak externaly allocated xmlSAXHandler.
This commit is contained in:
parent
7822494499
commit
e4d895c7ee
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user