Commit f4e2a109 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

wsdapi: Fixed memory leak in error path (Coverity).

parent eb96566e
......@@ -366,6 +366,7 @@ HRESULT WINAPI WSDCreateDiscoveryPublisher(IWSDXMLContext *pContext, IWSDiscover
if (FAILED(WSDXMLCreateContext(&obj->xmlContext)))
{
WARN("Unable to create XML context\n");
HeapFree (GetProcessHeap(), 0, obj);
return E_OUTOFMEMORY;
}
}
......
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