Rob Shearman : rpcrt4: Fix a memory leak in RpcAssoc_BindConnection.

Alexandre Julliard julliard at winehq.org
Thu Dec 6 08:26:46 CST 2007


Module: wine
Branch: master
Commit: 5fb5fccac02b66d7a988f016d69ee31d868545a0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5fb5fccac02b66d7a988f016d69ee31d868545a0

Author: Rob Shearman <rob at codeweavers.com>
Date:   Wed Dec  5 22:40:52 2007 +0000

rpcrt4: Fix a memory leak in RpcAssoc_BindConnection.

---

 dlls/rpcrt4/rpc_transport.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c
index 40cc613..fcd3d0c 100644
--- a/dlls/rpcrt4/rpc_transport.c
+++ b/dlls/rpcrt4/rpc_transport.c
@@ -1667,6 +1667,7 @@ static RPC_STATUS RpcAssoc_BindConnection(const RpcAssoc *assoc, RpcConnection *
     break;
   }
 
+  I_RpcFreeBuffer(&msg);
   RPCRT4_FreeHeader(response_hdr);
   return status;
 }




More information about the wine-cvs mailing list