msi: Fix a leaking record handle.
This commit is contained in:
parent
b93c2c3544
commit
1a4a112d76
|
@ -922,6 +922,8 @@ static void test_viewmodify(void)
|
||||||
r = MsiViewModify(hview, MSIMODIFY_INSERT_TEMPORARY, hrec );
|
r = MsiViewModify(hview, MSIMODIFY_INSERT_TEMPORARY, hrec );
|
||||||
ok(r == ERROR_SUCCESS, "MsiViewModify failed\n");
|
ok(r == ERROR_SUCCESS, "MsiViewModify failed\n");
|
||||||
|
|
||||||
|
r = MsiCloseHandle(hrec);
|
||||||
|
ok(r == ERROR_SUCCESS, "MsiCloseHandle failed\n");
|
||||||
r = MsiViewClose(hview);
|
r = MsiViewClose(hview);
|
||||||
ok(r == ERROR_SUCCESS, "MsiViewClose failed\n");
|
ok(r == ERROR_SUCCESS, "MsiViewClose failed\n");
|
||||||
r = MsiCloseHandle(hview);
|
r = MsiCloseHandle(hview);
|
||||||
|
|
Loading…
Reference in New Issue