Daniel Lehman : oleaut32/tests: Fix leak (Valgrind).

Alexandre Julliard julliard at winehq.org
Tue Feb 6 15:55:51 CST 2018


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

Author: Daniel Lehman <dlehman25 at gmail.com>
Date:   Mon Feb  5 22:48:14 2018 -0800

oleaut32/tests: Fix leak (Valgrind).

Signed-off-by: Daniel Lehman <dlehman25 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/oleaut32/tests/vartype.c b/dlls/oleaut32/tests/vartype.c
index 6348fee..9be2eb2 100644
--- a/dlls/oleaut32/tests/vartype.c
+++ b/dlls/oleaut32/tests/vartype.c
@@ -6074,6 +6074,7 @@ static void test_recinfo(void)
     IRecordInfo_Release(recinfo);
 
     ITypeInfo_Release(typeinfo);
+    ITypeLib_Release(typelib2);
     ITypeLib_Release(typelib);
     DeleteFileW(filenameW);
     DeleteFileW(filename2W);




More information about the wine-cvs mailing list