diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-01-12 13:12:10 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-01-12 13:12:10 +0800 |
commit | 11c26426f69e8d68ded2b208b49bd93686393596 (patch) | |
tree | 490a55cab6c1d401941a6afcd7c8e1dde359f244 /mail/session.c | |
parent | 0c458b79b41e2982bbc41c94993c8ad04a8d46d4 (diff) | |
download | gsoc2013-evolution-11c26426f69e8d68ded2b208b49bd93686393596.tar.gz gsoc2013-evolution-11c26426f69e8d68ded2b208b49bd93686393596.tar.zst gsoc2013-evolution-11c26426f69e8d68ded2b208b49bd93686393596.zip |
strdup() the key.
2001-01-12 Jeffrey Stedfast <fejj@ximian.com>
* session.c (mail_session_set_password): strdup() the key.
svn path=/trunk/; revision=7433
Diffstat (limited to 'mail/session.c')
-rw-r--r-- | mail/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/session.c b/mail/session.c index b35116d904..a4a2122ddc 100644 --- a/mail/session.c +++ b/mail/session.c @@ -293,5 +293,5 @@ mail_session_forget_passwords (BonoboUIComponent *uih, void *user_data, void mail_session_set_password (const char *url, const char *password) { - g_hash_table_insert (passwords, url, g_strdup (password)); + g_hash_table_insert (passwords, g_strdup (url), g_strdup (password)); } |