From 9866f48c8716996cd67ccb008471f73f8fc1baa6 Mon Sep 17 00:00:00 2001 From: Dusan Durech Date: Thu, 23 Apr 2009 19:17:56 +0200 Subject: support statusbar (need write label)| fix kiks with keycontrol.conf| fix memory leak in font.c --- src/client/font.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client/font.c') diff --git a/src/client/font.c b/src/client/font.c index 731e86d..b64785e 100644 --- a/src/client/font.c +++ b/src/client/font.c @@ -52,6 +52,7 @@ void font_init() fontconfig_quit(); if (TTF_Init() == -1) { + free(font_file); fprintf(stderr, "%s\n", SDL_GetError()); return; } @@ -63,6 +64,7 @@ void font_init() DEBUG_MSG(_("Loading font: \"%s\"\n"), font_file); + free(font_file); isFontInit = TRUE; } -- cgit v1.2.3