Sven Baars : wbemprox: Fix a string leak (Valgrind).

Alexandre Julliard julliard at winehq.org
Mon Oct 7 17:02:14 CDT 2019


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

Author: Sven Baars <sven.wine at gmail.com>
Date:   Fri Oct  4 21:58:39 2019 +0200

wbemprox: Fix a string leak (Valgrind).

Signed-off-by: Sven Baars <sven.wine at gmail.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wbemprox/query.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/wbemprox/query.c b/dlls/wbemprox/query.c
index 0f43412473..0f7eada9af 100644
--- a/dlls/wbemprox/query.c
+++ b/dlls/wbemprox/query.c
@@ -632,6 +632,7 @@ done:
     if (query) release_query( query );
     free_path( path );
     SysFreeString( antecedent );
+    heap_free( str );
     return hr;
 }
 




More information about the wine-cvs mailing list