Rob Shearman : ole32: Fix a memory leak on the error path of
dispatch_rpc.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Oct 27 05:49:21 CDT 2006
Module: wine
Branch: master
Commit: b1bfad067bbc8a0a274281c028a773d0725d12bb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b1bfad067bbc8a0a274281c028a773d0725d12bb
Author: Rob Shearman <rob at codeweavers.com>
Date: Thu Oct 26 12:38:54 2006 +0100
ole32: Fix a memory leak on the error path of dispatch_rpc.
---
dlls/ole32/rpc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/ole32/rpc.c b/dlls/ole32/rpc.c
index 7bb6e9f..368a6ba 100644
--- a/dlls/ole32/rpc.c
+++ b/dlls/ole32/rpc.c
@@ -547,6 +547,7 @@ static void __RPC_STUB dispatch_rpc(RPC_
if (hr != S_OK)
{
ERR("no apartment found for ipid %s\n", debugstr_guid(&ipid));
+ HeapFree(GetProcessHeap(), 0, params);
return RpcRaiseException(hr);
}
More information about the wine-cvs
mailing list