[telepathy-mission-control/master] Duplicate the automatic presence status string
Alberto Mardegan
alberto.mardegan at nokia.com
Wed Jul 1 22:41:51 PDT 2009
All the presence strings in McdAccountPrivate are allocated on dynamic memory.
---
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 1534167..77f39af 100644
--- a/src/mcd-account.c
+++ b/src/mcd-account.c
@@ -1923,7 +1923,7 @@ mcd_account_setup (McdAccount *account)
if (!_presence_type_is_online (priv->auto_presence_type))
{
priv->auto_presence_type = TP_CONNECTION_PRESENCE_TYPE_AVAILABLE;
- priv->auto_presence_status = "available";
+ priv->auto_presence_status = g_strdup ("available");
}
priv->auto_presence_status =
--
1.5.6.5
More information about the telepathy-commits
mailing list