Nikolay Sivov : rpcss: Fix a protseq string leak (Valgrind).

Alexandre Julliard julliard at wine.codeweavers.com
Thu Apr 16 07:56:27 CDT 2015


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Apr 15 07:35:57 2015 +0300

rpcss: Fix a protseq string leak (Valgrind).

---

 programs/rpcss/epmp.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/programs/rpcss/epmp.c b/programs/rpcss/epmp.c
index cebde56..2eb6039 100644
--- a/programs/rpcss/epmp.c
+++ b/programs/rpcss/epmp.c
@@ -252,6 +252,8 @@ void __cdecl ept_map(handle_t h,
     }
 
     LeaveCriticalSection(&csEpm);
+
+    I_RpcFree(protseq);
 }
 
 void __cdecl ept_lookup_handle_free(handle_t h,




More information about the wine-cvs mailing list