From 2e24d34b223f96c055af74ac65c445a61ba5da08 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Thu, 20 May 2010 12:02:05 +0200 Subject: [PATCH] msi: Fix some leaks in the tests. --- dlls/msi/tests/patch.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dlls/msi/tests/patch.c b/dlls/msi/tests/patch.c index 8029d16f39a..56af5f831e5 100644 --- a/dlls/msi/tests/patch.c +++ b/dlls/msi/tests/patch.c @@ -920,6 +920,9 @@ static void test_system_tables( void ) r = find_entry( hdb, "_Tables", "_Property" ); ok( r == ERROR_SUCCESS, "failed to find entry %u\n", r ); + MsiCloseHandle( hrec ); + MsiViewClose( hview ); + MsiCloseHandle( hview ); MsiCloseHandle( hdb ); MsiCloseHandle( hproduct ); @@ -988,6 +991,9 @@ static void test_system_tables( void ) r = find_entry( hdb, "_Tables", "PatchPackage" ); ok( r == ERROR_SUCCESS, "failed to find entry %u\n", r ); + MsiCloseHandle( hrec ); + MsiViewClose( hview ); + MsiCloseHandle( hview ); MsiCloseHandle( hdb ); MsiCloseHandle( hproduct ); -- 2.11.4.GIT