Commit d90d2ab5 authored by Bruno Jesus's avatar Bruno Jesus Committed by Alexandre Julliard

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

parent 7257b62b
......@@ -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);
......
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