From 11149d4ccedf87a5005327c02e8e195e4e4e0b67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Tue, 26 Sep 2006 22:51:54 +0000 Subject: Free font_pos allocated in the function. Found by Coverity Scan CID 156. CVS patchset: 8313 CVS date: 2006/09/26 22:51:54 --- src/post/goom/gfontlib.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/post/goom/gfontlib.c b/src/post/goom/gfontlib.c index f9d6801dd..2bc366305 100755 --- a/src/post/goom/gfontlib.c +++ b/src/post/goom/gfontlib.c @@ -126,6 +126,7 @@ void gfont_load (void) { small_font_width [32] = font_width [32]/2; font_chars [32] = 0; small_font_chars [32] = 0; + free(font_pos); } void goom_draw_text (Pixel * buf,int resolx,int resoly, -- cgit v1.2.3