Commit 9351867e authored by Alexandre Julliard's avatar Alexandre Julliard

oleaut32/tests: Delete the correct object in the icon test.

parent c4bae8fa
...@@ -1055,7 +1055,7 @@ todo_wine ...@@ -1055,7 +1055,7 @@ todo_wine
GlobalUnlock(hmem); GlobalUnlock(hmem);
GlobalFree(hmem); GlobalFree(hmem);
DeleteObject(desc.u.bmp.hbitmap); DestroyIcon(desc.u.icon.hicon);
IPicture_Release(pic); IPicture_Release(pic);
} }
......
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