Hard code freeze break request for Empathy (#630168)



Hi again,

A good day is a day where we fixed at least 2 crashers, so here is
another one :)
https://bugzilla.gnome.org/show_bug.cgi?id=630168


	G.

-- 
Guillaume Desmottes <gdesmott gnome org>
Jabber <cassidy jabber belnet be>
GPG 1024D/711E31B1 | 1B5A 1BA8 11AA F0F1 2169  E28A AC55 8671 711E 31B1
>From 4fb52741016fc1135eea200f83272e5b1a8b8bea Mon Sep 17 00:00:00 2001
From: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon, 20 Sep 2010 17:39:55 +0200
Subject: [PATCH] empathy_account_settings_set_strv: we have to copy the key (#630168)

---
 libempathy/empathy-account-settings.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c
index 43bba44..1278bb4 100644
--- a/libempathy/empathy-account-settings.c
+++ b/libempathy/empathy-account-settings.c
@@ -877,7 +877,7 @@ empathy_account_settings_set_strv (EmpathyAccountSettings *settings,
 {
   EmpathyAccountSettingsPriv *priv = GET_PRIV (settings);
 
-  tp_asv_set_strv (priv->parameters, param, value);
+  tp_asv_set_strv (priv->parameters, g_strdup (param), value);
 
   account_settings_remove_from_unset (settings, param);
 }
-- 
1.7.0.4



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