gdi32 tests: fix memory leak (found by Smatch).
Lionel Debroux
lionel_debroux at yahoo.fr
Sat Oct 20 14:05:15 CDT 2007
---
dlls/gdi32/tests/bitmap.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/gdi32/tests/bitmap.c b/dlls/gdi32/tests/bitmap.c
index 1ededdc..e1e4437 100644
--- a/dlls/gdi32/tests/bitmap.c
+++ b/dlls/gdi32/tests/bitmap.c
@@ -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);
}
--
1.5.3.2
--------------030407020006030306060405--
More information about the wine-patches
mailing list