Commit 5330f717 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

msxml3: Remove redundant NULL check before HeapFree (Smatch).

parent c876c929
...@@ -1036,7 +1036,7 @@ static HRESULT WINAPI isaxxmlreader_parse( ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment