aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-09-20 23:39:55 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-09-20 23:39:55 +0800
commit4fb52741016fc1135eea200f83272e5b1a8b8bea (patch)
tree0781231a271eacd14c6521be7f8b48e0924dbd9b /libempathy
parent57cd2fba705b470cb37afdc6d8a8984de4aa8da7 (diff)
downloadgsoc2013-empathy-4fb52741016fc1135eea200f83272e5b1a8b8bea.tar
gsoc2013-empathy-4fb52741016fc1135eea200f83272e5b1a8b8bea.tar.gz
gsoc2013-empathy-4fb52741016fc1135eea200f83272e5b1a8b8bea.tar.bz2
gsoc2013-empathy-4fb52741016fc1135eea200f83272e5b1a8b8bea.tar.lz
gsoc2013-empathy-4fb52741016fc1135eea200f83272e5b1a8b8bea.tar.xz
gsoc2013-empathy-4fb52741016fc1135eea200f83272e5b1a8b8bea.tar.zst
gsoc2013-empathy-4fb52741016fc1135eea200f83272e5b1a8b8bea.zip
empathy_account_settings_set_strv: we have to copy the key (#630168)
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-account-settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c
index 43bba44e6..1278bb441 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);
}