mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-31 19:33:34 +00:00
(svn r7249) -Fix (r7248): Missed a free()...
This commit is contained in:
parent
6fabaeeb23
commit
8d175ccb13
@ -372,6 +372,7 @@ void InitializeUnicodeGlyphMap(void)
|
|||||||
for (i = 0; i < 256; i++) {
|
for (i = 0; i < 256; i++) {
|
||||||
if (_unicode_glyph_map[size][i] != NULL) free(_unicode_glyph_map[size][i]);
|
if (_unicode_glyph_map[size][i] != NULL) free(_unicode_glyph_map[size][i]);
|
||||||
}
|
}
|
||||||
|
free(_unicode_glyph_map[size]);
|
||||||
_unicode_glyph_map[size] = NULL;
|
_unicode_glyph_map[size] = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user