From 11c26426f69e8d68ded2b208b49bd93686393596 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 12 Jan 2001 05:12:10 +0000 Subject: strdup() the key. 2001-01-12 Jeffrey Stedfast * session.c (mail_session_set_password): strdup() the key. svn path=/trunk/; revision=7433 --- mail/ChangeLog | 2 ++ mail/session.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 934add80d4..b7273c0ef1 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,7 @@ 2001-01-12 Jeffrey Stedfast + * session.c (mail_session_set_password): strdup() the key. + * mail-config-druid.c (construct): We don't want to be able to set the reply-to in the config druid. (druid_finish): Don't set a reply-to anymore. 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)); } -- cgit v1.2.3