msi: Fix some leaks in the tests.
This commit is contained in:
parent
7a370c8d7b
commit
2e24d34b22
|
@ -920,6 +920,9 @@ static void test_system_tables( void )
|
||||||
r = find_entry( hdb, "_Tables", "_Property" );
|
r = find_entry( hdb, "_Tables", "_Property" );
|
||||||
ok( r == ERROR_SUCCESS, "failed to find entry %u\n", r );
|
ok( r == ERROR_SUCCESS, "failed to find entry %u\n", r );
|
||||||
|
|
||||||
|
MsiCloseHandle( hrec );
|
||||||
|
MsiViewClose( hview );
|
||||||
|
MsiCloseHandle( hview );
|
||||||
MsiCloseHandle( hdb );
|
MsiCloseHandle( hdb );
|
||||||
MsiCloseHandle( hproduct );
|
MsiCloseHandle( hproduct );
|
||||||
|
|
||||||
|
@ -988,6 +991,9 @@ static void test_system_tables( void )
|
||||||
r = find_entry( hdb, "_Tables", "PatchPackage" );
|
r = find_entry( hdb, "_Tables", "PatchPackage" );
|
||||||
ok( r == ERROR_SUCCESS, "failed to find entry %u\n", r );
|
ok( r == ERROR_SUCCESS, "failed to find entry %u\n", r );
|
||||||
|
|
||||||
|
MsiCloseHandle( hrec );
|
||||||
|
MsiViewClose( hview );
|
||||||
|
MsiCloseHandle( hview );
|
||||||
MsiCloseHandle( hdb );
|
MsiCloseHandle( hdb );
|
||||||
MsiCloseHandle( hproduct );
|
MsiCloseHandle( hproduct );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue