Commit e68b9f9f authored by Florian Köberle's avatar Florian Köberle Committed by Alexandre Julliard

comctl32/header: Don't free the imagelist in HEADER_NCDestroy.

parent 9a616111
......@@ -1539,9 +1539,6 @@ HEADER_NCDestroy (HEADER_INFO *infoPtr)
Free(infoPtr->order);
if (infoPtr->himl)
ImageList_Destroy (infoPtr->himl);
SetWindowLongPtrW (infoPtr->hwndSelf, 0, 0);
Free (infoPtr);
......
......@@ -980,7 +980,6 @@ static void test_hdm_imageMessages(HWND hParent)
DestroyWindow(hChild);
wasValid = ImageList_Destroy(hImageList);
todo_wine
ok(wasValid, "Header must not free image list at destruction!\n");
}
......
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