[PATCH 1/4] gdi32: Remove some unreachable code (Coverity).
Sven Baars
sbaars at codeweavers.com
Sun Apr 18 07:30:23 CDT 2021
Signed-off-by: Sven Baars <sbaars at codeweavers.com>
---
dlls/gdi32/freetype.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index b29d9fcc88e..456eb245700 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -1701,8 +1701,6 @@ static void fontconfig_add_fonts_from_dir_list( FcConfig *config, FcStrList *dir
}
done:
- if (font_set) pFcFontSetDestroy( font_set );
- if (subdir_list) pFcStrListDone( subdir_list );
if (subdir_set) pFcStrSetDestroy( subdir_set );
if (cache) pFcDirCacheUnload( cache );
}
--
2.30.0.335.ge6362826a0
More information about the wine-devel
mailing list