[5/7] msi: Fix some leaks in the tests.
Hans Leidekker
hans at codeweavers.com
Thu May 20 05:02:05 CDT 2010
---
dlls/msi/tests/patch.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/tests/patch.c b/dlls/msi/tests/patch.c
index 8029d16..56af5f8 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 );
--
1.7.0.4
More information about the wine-patches
mailing list