Commit 5b406f89 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

rpcss: Fix a leak when TowerExplode() fails on endpoint insertion (Coverity).

parent a87c510e
......@@ -122,6 +122,7 @@ void __cdecl ept_insert(handle_t h,
{
WINE_WARN("TowerExplode failed %u\n", rpc_status);
*status = rpc_status;
HeapFree(GetProcessHeap(), 0, entry);
break; /* FIXME: more cleanup? */
}
......
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