msxml3: Don't leak externaly allocated xmlSAXHandler.

oldstable
Nikolay Sivov 2010-01-10 18:17:37 +03:00 committed by Alexandre Julliard
parent 7822494499
commit e4d895c7ee
1 changed files with 1 additions and 0 deletions

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;