[Telepathy-commits] [telepathy-gabble/master] Location: don't free a non initialised variable

Alban Crequy alban.crequy at collabora.co.uk
Sun Feb 1 05:24:00 PST 2009


---
 src/conn-location.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/conn-location.c b/src/conn-location.c
index 7da0433..5920b53 100644
--- a/src/conn-location.c
+++ b/src/conn-location.c
@@ -165,7 +165,7 @@ create_msg_foreach (gpointer key,
                     gpointer user_data)
 {
   LmMessageNode *geoloc = (LmMessageNode *) user_data;
-  gchar *str;
+  gchar *str = NULL;
   gchar *dup_key = g_strdup (key);
 
   if (G_VALUE_TYPE (value) == G_TYPE_DOUBLE)
-- 
1.5.6.5




More information about the Telepathy-commits mailing list