Module: wine Branch: master Commit: b18ecadef70725a9b70807554a0b785a202bb644 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b18ecadef70725a9b70807554a...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Mon May 30 22:52:50 2016 +0300
gdiplus/tests: Fix a font leak (Valgrind).
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Vincent Povirk vincent@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/gdiplus/tests/font.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/gdiplus/tests/font.c b/dlls/gdiplus/tests/font.c index 39b539b..1b442cc 100644 --- a/dlls/gdiplus/tests/font.c +++ b/dlls/gdiplus/tests/font.c @@ -781,6 +781,7 @@ static void test_font_substitution(void) expect(Ok, status); strcpy(fallback_font,lf.lfFaceName); trace("fallback font %s\n", fallback_font); + GdipDeleteFont(font);
lstrcpyA(lf.lfFaceName, "ThisFontShouldNotExist"); status = GdipCreateFontFromLogfontA(hdc, &lf, &font);