summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-11-24 18:37:40 +0000
committerpeter1138 <peter1138@openttd.org>2006-11-24 18:37:40 +0000
commit8d175ccb136581de4fb77931b029841144fe3f52 (patch)
tree68aeb1ad1802425d71ae254712f4a856f8c06a9c
parent6fabaeeb23f975126d165709be2643c27405a692 (diff)
downloadopenttd-8d175ccb136581de4fb77931b029841144fe3f52.tar.xz
(svn r7249) -Fix (r7248): Missed a free()...
-rw-r--r--fontcache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fontcache.c b/fontcache.c
index 2d02da9d3..18d782acd 100644
--- a/fontcache.c
+++ b/fontcache.c
@@ -372,6 +372,7 @@ void InitializeUnicodeGlyphMap(void)
for (i = 0; i < 256; i++) {
if (_unicode_glyph_map[size][i] != NULL) free(_unicode_glyph_map[size][i]);
}
+ free(_unicode_glyph_map[size]);
_unicode_glyph_map[size] = NULL;
}