aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-passwords.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-passwords.c')
-rw-r--r--e-util/e-passwords.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/e-util/e-passwords.c b/e-util/e-passwords.c
index da400d0a5c..b201109b13 100644
--- a/e-util/e-passwords.c
+++ b/e-util/e-passwords.c
@@ -196,9 +196,10 @@ e_passwords_forget_password (const char *key)
* e_passwords_get_password:
* @key: the key
*
- * Return value: the password associated with @key, or %NULL.
+ * Return value: the password associated with @key, or %NULL. Caller
+ * must free the returned password.
**/
-const char *
+char *
e_passwords_get_password (const char *key)
{
char *passwd = g_hash_table_lookup (passwords, key);