diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/mail-signature-editor.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index e4484f7d80..66ff5818fa 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2003-03-03 Jeffrey Stedfast <fejj@ximian.com> + + * mail-signature-editor.c (menu_file_save_cb): Use 'filename' when + creating the uri rather than using the uninitialised 'uri' + variable to create itself. Fixes bug #38864. + 2003-03-03 Not Zed <NotZed@Ximian.com> * mail-session.c (do_user_message): Do the same as below for diff --git a/mail/mail-signature-editor.c b/mail/mail-signature-editor.c index 4ce2ce476c..386af9c00a 100644 --- a/mail/mail-signature-editor.c +++ b/mail/mail-signature-editor.c @@ -103,7 +103,7 @@ menu_file_save_cb (BonoboUIComponent *uic, filename = g_strdup_printf ("%s/.#%s", dirname, base); printf ("filename = %s\n", filename); g_free (dirname); - g_free(base); + g_free (base); CORBA_exception_init (&ev); @@ -118,9 +118,9 @@ menu_file_save_cb (BonoboUIComponent *uic, Bonobo_Stream stream; char *uri; - uri = g_strdup_printf("file://%s", uri); + uri = g_strdup_printf ("file://%s", filename); stream = bonobo_get_object (uri, "IDL:Bonobo/Stream:1.0", NULL); - g_free(uri); + g_free (uri); /* FIXME: truncate? */ |