From 9351867e6aa3ae96a6d6de97445409697219813f Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 18 Oct 2012 20:18:47 +0200 Subject: [PATCH] oleaut32/tests: Delete the correct object in the icon test. --- dlls/oleaut32/tests/olepicture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/oleaut32/tests/olepicture.c b/dlls/oleaut32/tests/olepicture.c index b214d761d6c..696f8cd3be0 100644 --- a/dlls/oleaut32/tests/olepicture.c +++ b/dlls/oleaut32/tests/olepicture.c @@ -1055,7 +1055,7 @@ todo_wine GlobalUnlock(hmem); GlobalFree(hmem); - DeleteObject(desc.u.bmp.hbitmap); + DestroyIcon(desc.u.icon.hicon); IPicture_Release(pic); }