summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/renderercommon/tr_font.c1
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(&registeredFont[registeredFontCount++], font, sizeof(fontInfo_t));
+ ri.FS_FreeFile(faceData);
return;
}