Module: wine Branch: master Commit: 6a6376cd830cd855114d3c4b2ded97bd9ac4716d URL: https://source.winehq.org/git/wine.git/?a=commit;h=6a6376cd830cd855114d3c4b2...
Author: Sven Baars sven.wine@gmail.com Date: Thu Feb 21 17:18:37 2019 +0100
gdiplus/tests: Fix a memory leak (Valgrind).
Signed-off-by: Sven Baars sven.wine@gmail.com Signed-off-by: Vincent Povirk vincent@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 5aec1c2..60591b0 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)