aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy/empathy-keyring.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-keyring.c b/libempathy/empathy-keyring.c
index 425ae1ed6..3a5f6dc73 100644
--- a/libempathy/empathy-keyring.c
+++ b/libempathy/empathy-keyring.c
@@ -80,7 +80,8 @@ find_items_cb (GnomeKeyringResult result,
found = list->data;
DEBUG ("Got secret");
- g_simple_async_result_set_op_res_gpointer (simple, found->secret, NULL);
+ g_simple_async_result_set_op_res_gpointer (simple, g_strdup (found->secret),
+ g_free);
out:
g_simple_async_result_complete (simple);