rpcss: Fix a leak when TowerExplode() fails on endpoint insertion (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a87c510e9a
commit
5b406f8963
|
@ -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? */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue