summaryrefslogtreecommitdiff
path: root/src/post/goom/gfontlib.c
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2010-07-19 19:56:48 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2010-07-19 19:56:48 +0100
commitdec217438b63373fefd6f50c85664f57148efe50 (patch)
tree2b1f869f76704b3c3ffa8201dd57588492c68a2f /src/post/goom/gfontlib.c
parent88682e14a4c89caa499fedad2a3faab316f72dda (diff)
downloadxine-lib-dec217438b63373fefd6f50c85664f57148efe50.tar.gz
xine-lib-dec217438b63373fefd6f50c85664f57148efe50.tar.bz2
Fix a few small memory leaks.
Diffstat (limited to 'src/post/goom/gfontlib.c')
-rw-r--r--src/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 2bc366305..f538aad34 100644
--- a/src/post/goom/gfontlib.c
+++ b/src/post/goom/gfontlib.c
@@ -127,6 +127,7 @@ void gfont_load (void) {
font_chars [32] = 0;
small_font_chars [32] = 0;
free(font_pos);
+ free(gfont);
}
void goom_draw_text (Pixel * buf,int resolx,int resoly,