msi: Fix some leaks in the tests.

oldstable
Hans Leidekker 2010-05-20 12:02:05 +02:00 committed by Alexandre Julliard
parent 7a370c8d7b
commit 2e24d34b22
1 changed files with 6 additions and 0 deletions

View File

@ -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 );