msi/tests: Fix a handle leak.
This commit is contained in:
parent
9352509eb2
commit
8b50188f57
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue