[Telepathy-commits] [telepathy-mission-control/master] Don't free the name string, it's a static one.

Alberto Mardegan alberto.mardegan at nokia.com
Mon Mar 2 01:09:14 PST 2009


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

diff --git a/src/mcd-account.c b/src/mcd-account.c
index de6caa7..cf01f55 100644
--- a/src/mcd-account.c
+++ b/src/mcd-account.c
@@ -1970,7 +1970,7 @@ mcd_account_set_normalized_name (McdAccount *account, const gchar *name)
     mcd_account_manager_write_conf (priv->account_manager);
 
     g_value_init (&value, G_TYPE_STRING);
-    g_value_set_string (&value, name);
+    g_value_set_static_string (&value, name);
     mcd_account_changed_property (account, "NormalizedName", &value);
     g_value_unset (&value);
 }
-- 
1.5.6.5




More information about the telepathy-commits mailing list