diff options
| author | Dusan Durech <dusan@debian.debian> | 2009-04-23 19:17:56 +0200 |
|---|---|---|
| committer | Dusan Durech <dusan@debian.debian> | 2009-04-23 19:22:10 +0200 |
| commit | 9866f48c8716996cd67ccb008471f73f8fc1baa6 (patch) | |
| tree | 5e4a11273ab1c82b06090d97c94a6a18e8fcfe3f /src/client | |
| parent | 112e8071a8d96f9251ef265e31bd11a4662a893d (diff) | |
support statusbar (need write label)| fix kiks with keycontrol.conf| fix memory leak in font.c
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/font.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |