summaryrefslogtreecommitdiff
path: root/navit/graphics.c
diff options
context:
space:
mode:
authortegzed <tegzed@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-02-07 20:39:01 +0000
committertegzed <tegzed@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-02-07 20:39:01 +0000
commite692171f89f28d72b5ce30b9f3c01709236087a4 (patch)
treeae20f7e6b0c68687179e017cee65a8c25c4f3bd0 /navit/graphics.c
parent07476c0568484c91bcbdba2be8acc99006e628f4 (diff)
downloadnavit-e692171f89f28d72b5ce30b9f3c01709236087a4.tar.gz
Fix:core:dealloc graphics on exit
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4116 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/graphics.c')
-rw-r--r--navit/graphics.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/graphics.c b/navit/graphics.c
index 19c9c4294..94b2e0cdb 100644
--- a/navit/graphics.c
+++ b/navit/graphics.c
@@ -393,6 +393,7 @@ struct graphics_font * graphics_named_font_new(struct graphics *gra, char *font,
void graphics_free(struct graphics *gra)
{
gra->meth.graphics_destroy(gra->priv);
+ g_free(gra);
}
/**