]> err.no Git - libchamplain/commitdiff
Free the id when destroying the map source
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Tue, 16 Jun 2009 21:12:28 +0000 (23:12 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Tue, 23 Jun 2009 16:35:40 +0000 (12:35 -0400)
champlain/champlain-map-source.c

index 90b715389e62a52a71558cc2eb36db647f766bab..57535ba008cfc95a7399b40b4520e8c69ef74d9a 100644 (file)
@@ -175,6 +175,7 @@ champlain_map_source_finalize (GObject *object)
   ChamplainMapSource *map_source = CHAMPLAIN_MAP_SOURCE (object);
   ChamplainMapSourcePrivate *priv = map_source->priv;
 
+  g_free (priv->id);
   g_free (priv->name);
   g_free (priv->license);
   g_free (priv->license_uri);