Mike McCormack : msi: Fix a handle leak in the tests.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Nov 2 05:46:47 CST 2006
Module: wine
Branch: master
Commit: aaa0dc04255c95f4f6705bf48605092fc3bc7848
URL: http://source.winehq.org/git/wine.git/?a=commit;h=aaa0dc04255c95f4f6705bf48605092fc3bc7848
Author: Mike McCormack <mike at codeweavers.com>
Date: Thu Nov 2 18:10:26 2006 +0900
msi: Fix a handle leak in the tests.
---
dlls/msi/tests/db.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/tests/db.c b/dlls/msi/tests/db.c
index c991ccd..9d03f46 100644
--- a/dlls/msi/tests/db.c
+++ b/dlls/msi/tests/db.c
@@ -1486,6 +1486,7 @@ static void test_msiimport(void)
ok(count == 2, "Expected 2, got %d\n", count);
ok(check_record(rec, 1, "s255"), "Expected s255\n");
ok(check_record(rec, 2, "s255"), "Expected s255\n");
+ MsiCloseHandle(rec);
r = MsiViewExecute(view, 0);
ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r);
More information about the wine-cvs
mailing list