[libchamplain] Free the id when destroying the map source



commit 5ae169833922f9b78545eb9437f377ba66f3270b
Author: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
Date:   Tue Jun 16 23:12:28 2009 +0200

    Free the id when destroying the map source

 champlain/champlain-map-source.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/champlain/champlain-map-source.c b/champlain/champlain-map-source.c
index 90b7153..57535ba 100644
--- a/champlain/champlain-map-source.c
+++ b/champlain/champlain-map-source.c
@@ -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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]