summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2006-09-26 22:51:54 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2006-09-26 22:51:54 +0000
commit11149d4ccedf87a5005327c02e8e195e4e4e0b67 (patch)
treea5b6d57e3b7f3866814519ba924dd6c5c61fa32d /src
parentdb7e88f1c603c2c32de727cffac61cd6c7785d2b (diff)
downloadxine-lib-11149d4ccedf87a5005327c02e8e195e4e4e0b67.tar.gz
xine-lib-11149d4ccedf87a5005327c02e8e195e4e4e0b67.tar.bz2
Free font_pos allocated in the function.
Found by Coverity Scan CID 156. CVS patchset: 8313 CVS date: 2006/09/26 22:51:54
Diffstat (limited to 'src')
-rwxr-xr-xsrc/post/goom/gfontlib.c1
1 files changed, 1 insertions, 0 deletions
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,