Module: wine Branch: master Commit: 2e24d34b223f96c055af74ac65c445a61ba5da08 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2e24d34b223f96c055af74ac65...
Author: Hans Leidekker hans@codeweavers.com Date: Thu May 20 12:02:05 2010 +0200
msi: Fix some leaks in the tests.
---
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 );