gdi32/tests: Fix memory leak (found by Smatch).

This commit is contained in:
Lionel Debroux 2007-10-20 21:05:15 +02:00 committed by Alexandre Julliard
parent cf509c29f1
commit b78ed57a39
1 changed files with 1 additions and 0 deletions

View File

@ -1828,6 +1828,7 @@ static void test_get16dibits(void)
overwritten_bytes++;
ok(overwritten_bytes == 0, "GetDIBits wrote past the buffer given\n");
HeapFree(GetProcessHeap(), 0, info);
DeleteObject(hbmp);
ReleaseDC(NULL, screen_dc);
}