summaryrefslogtreecommitdiff
path: root/navit/graphics.c
diff options
context:
space:
mode:
authorwoglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-06-20 07:50:09 +0000
committerwoglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-06-20 07:50:09 +0000
commite4ae859e8315ee627b003eeb4da80378501b2f7a (patch)
tree8476c3dcc6f8cd84d4d037a89e687e91b94d44d1 /navit/graphics.c
parent5a23318ea1d29ed75ffdf5e05a787857bcb06a77 (diff)
downloadnavit-e4ae859e8315ee627b003eeb4da80378501b2f7a.tar.gz
Fix:core: fix small memleak for struct graphics
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5152 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 0f7319162..81482aa22 100644
--- a/navit/graphics.c
+++ b/navit/graphics.c
@@ -424,6 +424,7 @@ void graphics_free(struct graphics *gra)
g_hash_table_destroy(gra->image_cache_hash);
}
+ attr_list_free(gra->attrs);
graphics_gc_destroy(gra->gc[0]);
graphics_gc_destroy(gra->gc[1]);
graphics_gc_destroy(gra->gc[2]);