msxml3: Remove redundant NULL check before HeapFree (Smatch).
This commit is contained in:
parent
c876c929a2
commit
5330f7171d
|
@ -1036,7 +1036,7 @@ static HRESULT WINAPI isaxxmlreader_parse(
|
||||||
xmlFreeParserCtxt(locator->pParserCtxt);
|
xmlFreeParserCtxt(locator->pParserCtxt);
|
||||||
locator->pParserCtxt = NULL;
|
locator->pParserCtxt = NULL;
|
||||||
}
|
}
|
||||||
if(data) HeapFree(GetProcessHeap(), 0, data);
|
HeapFree(GetProcessHeap(), 0, data);
|
||||||
ISAXLocator_Release((ISAXLocator*)&locator->lpSAXLocatorVtbl);
|
ISAXLocator_Release((ISAXLocator*)&locator->lpSAXLocatorVtbl);
|
||||||
return hr;
|
return hr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue