src/fontcache.cpp
branchgamebalance
changeset 9907 3b068c3a1c74
parent 9895 7bd07f43b0e3
child 9912 1ac8aac92385
--- a/src/fontcache.cpp	Thu Apr 19 14:43:25 2007 +0000
+++ b/src/fontcache.cpp	Thu Apr 19 14:48:10 2007 +0000
@@ -147,10 +147,10 @@
 
 
 folder_error:
+registry_no_font_found:
 #if defined(UNICODE)
-	free(font_path);
+	free(font_namep);
 #endif
-registry_no_font_found:
 	RegCloseKey(hKey);
 	return err;
 }