gdiplus: Fix a memory leak in the tests.

Found by Valgrind.
This commit is contained in:
Huw Davies 2009-12-15 11:32:58 +00:00 committed by Alexandre Julliard
parent b18cc9f680
commit 70742d5e5a
1 changed files with 1 additions and 0 deletions

View File

@ -193,6 +193,7 @@ todo_wine
{
stat = GdipCreateFontFamilyFromName (MSSansSerif, NULL, &family);
expect (FontFamilyNotFound, stat);
if(stat == Ok) GdipDeleteFontFamily(family);
}
stat = GdipCreateFontFamilyFromName (arial, NULL, &family);