Nikolay Sivov : wbemprox/tests: Fix interface instance leak (Valgrind).

Alexandre Julliard julliard at wine.codeweavers.com
Wed Apr 22 10:26:41 CDT 2015


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Apr 22 12:28:20 2015 +0300

wbemprox/tests: Fix interface instance leak (Valgrind).

---

 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 7e031d2..eb3bd58 100644
--- a/dlls/wbemprox/tests/query.c
+++ b/dlls/wbemprox/tests/query.c
@@ -267,6 +267,7 @@ static void test_Win32_Process( IWbemServices *services )
     }
     hr = IWbemClassObject_GetMethod( process, getownerW, 0, NULL, NULL );
     ok( hr == S_OK, "failed to get GetOwner method %08x\n", hr );
+    IWbemClassObject_Release( process );
 
     out = NULL;
     method = SysAllocString( getownerW );




More information about the wine-cvs mailing list