Alexandre Julliard : msi/tests: Fix a handle leak.
Alexandre Julliard
julliard at winehq.org
Mon Dec 14 09:51:09 CST 2009
Module: wine
Branch: master
Commit: 8b50188f571c298ff2a99aefe7fa0832a37f51b1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8b50188f571c298ff2a99aefe7fa0832a37f51b1
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Dec 11 19:19:27 2009 +0100
msi/tests: Fix a handle leak.
---
dlls/msi/tests/record.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/tests/record.c b/dlls/msi/tests/record.c
index 2c8f5bf..369c855 100644
--- a/dlls/msi/tests/record.c
+++ b/dlls/msi/tests/record.c
@@ -604,6 +604,8 @@ static void test_fieldzero(void)
r = MsiRecordIsNull(rec, 0);
ok(r == FALSE, "Expected FALSE, got %d\n", r);
+ r = MsiCloseHandle(hview);
+ ok(r == ERROR_SUCCESS, "MsiCloseHandle failed\n");
MsiCloseHandle(rec);
MsiCloseHandle(hdb);
DeleteFileA(msifile);
More information about the wine-cvs
mailing list