(svn r9518) -Fix [Windows]: do not free an uninitialized pointer.
authorrubidium
Wed, 28 Mar 2007 09:27:38 +0000
changeset 6884 a1b3e90eb3ac
parent 6713 f59d6b98050c
child 6885 7d96edaa2d9b
(svn r9518) -Fix [Windows]: do not free an uninitialized pointer.
src/fontcache.cpp
--- a/src/fontcache.cpp	Tue Mar 27 13:56:18 2007 +0000
+++ b/src/fontcache.cpp	Wed Mar 28 09:27:38 2007 +0000
@@ -146,10 +146,10 @@
 	} 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;