Commit 00bd7998 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

Fixed memory leak.

Removed redundant ImageList_DragShowNolock(FALSE) call.
parent 09534f32
......@@ -1163,6 +1163,7 @@ ImageList_DragMove (INT x, INT y)
DeleteDC(hdcBg);
DeleteDC(hdcOffScreen);
DeleteObject(hbmOffScreen);
ReleaseDC(InternalDrag.hwnd, hdcDrag);
}
......@@ -1477,9 +1478,6 @@ ImageList_Duplicate (HIMAGELIST himlSrc)
BOOL WINAPI
ImageList_EndDrag (void)
{
/* hide the drag image */
ImageList_DragShowNolock(FALSE);
/* cleanup the InternalDrag struct */
InternalDrag.hwnd = 0;
ImageList_Destroy (InternalDrag.himl);
......
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