msi/tests: Fix a handle leak.

This commit is contained in:
Alexandre Julliard 2009-12-11 19:19:27 +01:00
parent 9352509eb2
commit 8b50188f57
1 changed files with 2 additions and 0 deletions

View File

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