Commit 70742d5e authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

gdiplus: Fix a memory leak in the tests.

Found by Valgrind.
parent b18cc9f6
......@@ -193,6 +193,7 @@ todo_wine
{
stat = GdipCreateFontFamilyFromName (MSSansSerif, NULL, &family);
expect (FontFamilyNotFound, stat);
if(stat == Ok) GdipDeleteFontFamily(family);
}
stat = GdipCreateFontFamilyFromName (arial, NULL, &family);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment