src/fontcache.cpp
branchcpp_gui
changeset 6307 f40e88cff863
parent 6298 c30fe89622df
child 9912 1ac8aac92385
equal deleted inserted replaced
6306:036aa28ca80e 6307:f40e88cff863
   145 
   145 
   146 	} while ((FT_Long)++index != (*face)->num_faces);
   146 	} while ((FT_Long)++index != (*face)->num_faces);
   147 
   147 
   148 
   148 
   149 folder_error:
   149 folder_error:
       
   150 registry_no_font_found:
   150 #if defined(UNICODE)
   151 #if defined(UNICODE)
   151 	free(font_path);
   152 	free(font_namep);
   152 #endif
   153 #endif
   153 registry_no_font_found:
       
   154 	RegCloseKey(hKey);
   154 	RegCloseKey(hKey);
   155 	return err;
   155 	return err;
   156 }
   156 }
   157 #else
   157 #else
   158 # ifdef WITH_FONTCONFIG
   158 # ifdef WITH_FONTCONFIG