aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/empathy-import-mc4-accounts.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/empathy-import-mc4-accounts.c b/src/empathy-import-mc4-accounts.c
index 53063d6c2..602cfc1f9 100644
--- a/src/empathy-import-mc4-accounts.c
+++ b/src/empathy-import-mc4-accounts.c
@@ -85,13 +85,16 @@ _param_name_from_key (const gchar *key)
{
const gchar *base, *slash;
gchar *account_name;
+ gchar *ret;
account_name = _account_name_from_key (key);
base = strstr (key, account_name);
slash = strchr (base, '/');
+
+ ret = g_strdup (slash+1);
g_free (account_name);
- return g_strdup (slash+1);
+ return ret;
}
static gchar *