diff --git a/dlls/user32/tests/cursoricon.c b/dlls/user32/tests/cursoricon.c index 26c533b160b..b15acc2a60c 100644 --- a/dlls/user32/tests/cursoricon.c +++ b/dlls/user32/tests/cursoricon.c @@ -1218,11 +1218,6 @@ static void test_DrawIconEx(void) check_alpha_draw(hdcDst, TRUE, FALSE, 32, __LINE__); todo_wine check_alpha_draw(hdcDst, TRUE, TRUE, 32, __LINE__); - SelectObject(hdcDst, bmpOld); - DeleteObject(bmpDst); - bmpOld = NULL; - bmpDst = NULL; - cleanup: if(bmpOld) SelectObject(hdcDst, bmpOld);