summaryrefslogtreecommitdiff
path: root/navit/graphics.c
diff options
context:
space:
mode:
authormdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-06-10 20:25:17 +0000
committermdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-06-10 20:25:17 +0000
commit9b95a49bd44b6219b1969dc0d67905153634cbf0 (patch)
tree21d5833185ed0cef23887913c23ef572d5d5cd9a /navit/graphics.c
parent64b9bf5dd2db7563aa416f92292fb71713ba57b9 (diff)
downloadnavit-9b95a49bd44b6219b1969dc0d67905153634cbf0.tar.gz
Fix:core:Clean up few more memleaks.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5139 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/graphics.c')
-rw-r--r--navit/graphics.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/navit/graphics.c b/navit/graphics.c
index 90425b6a4..0f7319162 100644
--- a/navit/graphics.c
+++ b/navit/graphics.c
@@ -2177,6 +2177,8 @@ GList *displaylist_get_clicked_list(struct displaylist *displaylist, struct poin
l=g_list_insert_sorted(l,(gpointer) di, (GCompareFunc) displaylist_cmp_zorder);
}
+ graphics_displaylist_close(dlh);
+
return l;
}