Commit 8b50188f authored by Alexandre Julliard's avatar Alexandre Julliard

msi/tests: Fix a handle leak.

parent 9352509e
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment