]> err.no Git - libchamplain/commitdiff
Memory leak fix: map_free() noew frees the map
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Sun, 26 Apr 2009 08:24:50 +0000 (10:24 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Sun, 26 Apr 2009 15:44:39 +0000 (11:44 -0400)
champlain/champlain-map.c

index a69feda376b220dfa30b41b471e8bc50059504a6..570af3fd7dc997c7d693b02c75b48fe95b177dbe 100644 (file)
@@ -168,6 +168,7 @@ void
 map_free (Map *map)
 {
   g_object_unref (map->current_level);
+  g_free (map);
 }
 
 gboolean