From 2cc730b4ad148382093d67f15d40134aee05d058 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Sun, 12 Mar 2017 13:21:07 +0300 Subject: [PATCH] usp10/tests: Fix a buffer leak (Valgrind). Signed-off-by: Nikolay Sivov Signed-off-by: Aric Stewart Signed-off-by: Alexandre Julliard --- 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 60ad99555fd..e8a72cba185 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);