[PATCH] usp10/tests: Fix a buffer leak (Valgrind)
Nikolay Sivov
nsivov at codeweavers.com
Sun Mar 12 05:21:07 CDT 2017
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/usp10/tests/usp10.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/usp10/tests/usp10.c b/dlls/usp10/tests/usp10.c
index 60ad99555f..e8a72cba18 100644
--- a/dlls/usp10/tests/usp10.c
+++ b/dlls/usp10/tests/usp10.c
@@ -1186,6 +1186,7 @@ static inline void _test_shape_ok(int valid, HDC hdc, LPCWSTR string,
}
cleanup:
+ HeapFree(GetProcessHeap(),0,string2);
HeapFree(GetProcessHeap(),0,logclust2);
HeapFree(GetProcessHeap(),0,charProp2);
HeapFree(GetProcessHeap(),0,glyphs2);
--
2.11.0
More information about the wine-patches
mailing list