[PATCH v2] gdiplus/tests: Fix a memory leak (Valgrind).
21 Feb
2019
21 Feb
'19
4:18 p.m.
Signed-off-by: Sven Baars <sven.wine(a)gmail.com> --- v2: Move the free to the bottom of the function. dlls/gdiplus/tests/image.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/gdiplus/tests/image.c b/dlls/gdiplus/tests/image.c index 5aec1c283a..60591b0aca 100644 --- a/dlls/gdiplus/tests/image.c +++ b/dlls/gdiplus/tests/image.c @@ -5482,6 +5482,7 @@ todo_wine GdipFree(palette); GdipDisposeImage((GpImage *)bitmap); + HeapFree(GetProcessHeap(), 0, data); } START_TEST(image) -- 2.17.1
2490
Age (days ago)
2491
Last active (days ago)
1 comments
2 participants
participants (2)
-
Sven Baars -
Vincent Povirk