msxml3: Don't leak externaly allocated xmlSAXHandler.

This commit is contained in:
Nikolay Sivov 2010-01-10 18:17:37 +03:00 committed by Alexandre Julliard
parent 7822494499
commit e4d895c7ee

View File

@ -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;