[PATCH] oleaut32/tests: Fix leak (Valgrind).

Daniel Lehman dlehman25 at gmail.com
Tue Feb 6 00:48:14 CST 2018


Signed-off-by: Daniel Lehman <dlehman25 at gmail.com>
---
 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);
-- 
2.7.4




More information about the wine-devel mailing list