From: Emmanuel Rodriguez Date: Sun, 26 Apr 2009 08:24:50 +0000 (+0200) Subject: Memory leak fix: map_free() noew frees the map X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c3bbaf46d40902580e6f80f3f5ff0ea424bb409;p=libchamplain Memory leak fix: map_free() noew frees the map --- diff --git a/champlain/champlain-map.c b/champlain/champlain-map.c index a69feda..570af3f 100644 --- a/champlain/champlain-map.c +++ b/champlain/champlain-map.c @@ -168,6 +168,7 @@ void map_free (Map *map) { g_object_unref (map->current_level); + g_free (map); } gboolean