Nikolay Sivov : oleaut32/tests: Fix stub buffer leak (Valgrind).

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 22 07:44:58 CDT 2015


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Sun Jun 21 10:47:44 2015 +0300

oleaut32/tests: Fix stub buffer leak (Valgrind).

---

 dlls/oleaut32/tests/typelib.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/oleaut32/tests/typelib.c b/dlls/oleaut32/tests/typelib.c
index 5bde6f2..df68340 100644
--- a/dlls/oleaut32/tests/typelib.c
+++ b/dlls/oleaut32/tests/typelib.c
@@ -5500,6 +5500,7 @@ static void test_stub(void)
 
         hr = IPSFactoryBuffer_CreateStub(factory, &interfaceguid, &uk, &base_stub);
         ok(hr == S_OK, "got: %x, side: %04x\n", hr, side);
+        IRpcStubBuffer_Release(base_stub);
 
         IPSFactoryBuffer_Release(factory);
     next:




More information about the wine-cvs mailing list