diff options
-rw-r--r-- | src/fontcache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fontcache.cpp b/src/fontcache.cpp index f976de4d4..47eaf9284 100644 --- a/src/fontcache.cpp +++ b/src/fontcache.cpp @@ -146,10 +146,10 @@ static FT_Error GetFontByFaceName(const char *font_name, FT_Face *face) } while ((FT_Long)++index != (*face)->num_faces); -folder_error: #if defined(UNICODE) free(font_path); #endif +folder_error: registry_no_font_found: RegCloseKey(hKey); return err; |