user32/tests: Fix a memory leak (valgrind).

This commit is contained in:
Bruno Jesus 2014-05-29 20:35:13 -03:00 committed by Alexandre Julliard
parent 7257b62bd1
commit d90d2ab558

View File

@ -1699,6 +1699,7 @@ static void test_GetCursorFrameInfo(void)
ret = DestroyCursor(h1);
ok(ret, "DestroyCursor() failed (error = %d).\n", GetLastError());
HeapFree(GetProcessHeap(), 0, hotspot);
cleanup:
if(bmpOld) SelectObject(hdc, bmpOld);
if(bmp) DeleteObject(bmp);