equal
deleted
inserted
replaced
144 err = FT_Err_Cannot_Open_Resource; |
144 err = FT_Err_Cannot_Open_Resource; |
145 |
145 |
146 } while ((FT_Long)++index != (*face)->num_faces); |
146 } while ((FT_Long)++index != (*face)->num_faces); |
147 |
147 |
148 |
148 |
149 #if defined(UNICODE) |
|
150 free(font_path); |
|
151 #endif |
|
152 folder_error: |
149 folder_error: |
153 registry_no_font_found: |
150 registry_no_font_found: |
|
151 #if defined(UNICODE) |
|
152 free(font_namep); |
|
153 #endif |
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 |