diff options
author | Zack Middleton <zturtleman@gmail.com> | 2013-07-04 15:34:05 -0500 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2014-06-17 17:43:32 +0100 |
commit | b5e09caea0a5f1431b9fce97354738cd57b6e35b (patch) | |
tree | 914e1a5605d227655fccf3f9be024de43ebf04b0 /src/renderercommon | |
parent | 82803d3ca0984ae4a4e1707000737f1925c16ebd (diff) |
Free Team Arena fonts/fontImage_X.dat buffer
Caused temp memory to be present all the time, so Hunk_Alloc ignored memory low/high preference.
May have caused other issues as well.
Diffstat (limited to 'src/renderercommon')
-rw-r--r-- | src/renderercommon/tr_font.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/renderercommon/tr_font.c b/src/renderercommon/tr_font.c index 33f0b59e..30616853 100644 --- a/src/renderercommon/tr_font.c +++ b/src/renderercommon/tr_font.c @@ -402,6 +402,7 @@ void RE_RegisterFont(const char *fontName, int pointSize, fontInfo_t *font) { font->glyphs[i].glyph = RE_RegisterShaderNoMip(font->glyphs[i].shaderName); } Com_Memcpy(®isteredFont[registeredFontCount++], font, sizeof(fontInfo_t)); + ri.FS_FreeFile(faceData); return; } |