comctl32/header: Don't free the imagelist in HEADER_NCDestroy.
This commit is contained in:
parent
9a616111da
commit
e68b9f9fc9
|
@ -1539,9 +1539,6 @@ HEADER_NCDestroy (HEADER_INFO *infoPtr)
|
||||||
|
|
||||||
Free(infoPtr->order);
|
Free(infoPtr->order);
|
||||||
|
|
||||||
if (infoPtr->himl)
|
|
||||||
ImageList_Destroy (infoPtr->himl);
|
|
||||||
|
|
||||||
SetWindowLongPtrW (infoPtr->hwndSelf, 0, 0);
|
SetWindowLongPtrW (infoPtr->hwndSelf, 0, 0);
|
||||||
Free (infoPtr);
|
Free (infoPtr);
|
||||||
|
|
||||||
|
|
|
@ -980,7 +980,6 @@ static void test_hdm_imageMessages(HWND hParent)
|
||||||
DestroyWindow(hChild);
|
DestroyWindow(hChild);
|
||||||
|
|
||||||
wasValid = ImageList_Destroy(hImageList);
|
wasValid = ImageList_Destroy(hImageList);
|
||||||
todo_wine
|
|
||||||
ok(wasValid, "Header must not free image list at destruction!\n");
|
ok(wasValid, "Header must not free image list at destruction!\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue