[PATCH v2] gdiplus/tests: Fix a memory leak (Valgrind).
Sven Baars
sven.wine at gmail.com
Thu Feb 21 10:18:37 CST 2019
Signed-off-by: Sven Baars <sven.wine at 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
More information about the wine-devel
mailing list