usp10/tests: Fix a buffer leak (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2017-03-12 13:21:07 +03:00 committed by Alexandre Julliard
parent 282b9e6c90
commit 2cc730b4ad

View file

@ -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);