From: Guillaume Desmottes Date: Mon, 20 Sep 2010 15:39:55 +0000 (+0200) Subject: empathy_account_settings_set_strv: we have to copy the key (#630168) X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=4fb52741016fc1135eea200f83272e5b1a8b8bea empathy_account_settings_set_strv: we have to copy the key (#630168) --- diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c index 43bba44e..1278bb44 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); }