Signed-off-by: Sven Baars sven.wine@gmail.com --- dlls/gdiplus/tests/font.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/dlls/gdiplus/tests/font.c b/dlls/gdiplus/tests/font.c index 0a3a3bef79..367aae8192 100644 --- a/dlls/gdiplus/tests/font.c +++ b/dlls/gdiplus/tests/font.c @@ -109,6 +109,9 @@ static void test_long_name(void) stat = GdipDeleteFont(font); ok(stat == Ok, "GdipDeleteFont failed: %d\n", stat);
+ stat = GdipDeleteFontFamily(family); + ok(stat == Ok, "GdipDeleteFontFamily failed: %d\n", stat); + stat = GdipDeletePrivateFontCollection(&fonts); ok(stat == Ok, "GdipDeletePrivateFontCollection failed: %d\n", stat);
@@ -1227,7 +1230,7 @@ static void test_GdipGetFontCollectionFamilyList(void) ok(found == 1, "Unexpected list count %d.\n", found); ok(family != NULL, "Expected family instance.\n");
- family = NULL; + family2 = NULL; found = 0; status = GdipGetFontCollectionFamilyList(collection, 1, &family2, &found); ok(status == Ok, "Failed to get family list, status %d.\n", status);