mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-21 17:09:06 -07:00
comctl32/listbox: Close a few leaked window handles.
This commit is contained in:
parent
67c1c3c255
commit
3623dd9e67
1 changed files with 4 additions and 0 deletions
|
@ -735,6 +735,7 @@ static void test_LB_SETCURSEL(void)
|
|||
ok(ret == -1, "Unexpected anchor index %d.\n", ret);
|
||||
|
||||
DestroyWindow(hLB);
|
||||
DestroyWindow(parent);
|
||||
}
|
||||
|
||||
static void test_LB_SETSEL(void)
|
||||
|
@ -2484,6 +2485,7 @@ static void test_WM_MEASUREITEM(void)
|
|||
|
||||
data = SendMessageA(listbox, LB_GETITEMDATA, 0, 0);
|
||||
ok(data == (LRESULT)strings[0], "data = %08Ix, expected %p\n", data, strings[0]);
|
||||
DestroyWindow(listbox);
|
||||
DestroyWindow(parent);
|
||||
|
||||
parent = create_parent();
|
||||
|
@ -2491,6 +2493,8 @@ static void test_WM_MEASUREITEM(void)
|
|||
|
||||
data = SendMessageA(listbox, LB_GETITEMDATA, 0, 0);
|
||||
ok(!data, "data = %08Ix\n", data);
|
||||
DestroyWindow(listbox);
|
||||
DestroyWindow(parent);
|
||||
|
||||
/* LBS_HASSTRINGS */
|
||||
parent = create_parent();
|
||||
|
|
Loading…
Reference in a new issue