Sven Baars : wbemprox/tests: Fix a memory leak (Valgrind).

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


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

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

wbemprox/tests: Fix a memory 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/tests/query.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/wbemprox/tests/query.c b/dlls/wbemprox/tests/query.c
index cdbbc02820..1c6ffcaf8d 100644
--- a/dlls/wbemprox/tests/query.c
+++ b/dlls/wbemprox/tests/query.c
@@ -1654,6 +1654,7 @@ static void test_Win32_PnPEntity( IWbemServices *services )
                 VariantClear( &val );
             }
         }
+        IWbemClassObject_Release( obj );
     }
 
     SysFreeString( bstr );




More information about the wine-cvs mailing list