diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-07-04 00:52:38 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-07-04 00:52:38 +0800 |
commit | ea9e4260969354a6479dceea253bb74d23c3acd9 (patch) | |
tree | efc55e0149a5678bf5e5395c7481ec72069cb316 /mail/mail-display.c | |
parent | 3f3936e0f9fb2acc990f0b0279740d740d945a24 (diff) | |
download | gsoc2013-evolution-ea9e4260969354a6479dceea253bb74d23c3acd9.tar.gz gsoc2013-evolution-ea9e4260969354a6479dceea253bb74d23c3acd9.tar.zst gsoc2013-evolution-ea9e4260969354a6479dceea253bb74d23c3acd9.zip |
Use mkdtemp if we have it, else use mktemp but make the code safer than it
2001-07-03 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (message_list_drag_data_get): Use mkdtemp if we
have it, else use mktemp but make the code safer than it was
previously.
* mail-display.c (launch_cb): Free the template string if the
tempdir failed to be created.
svn path=/trunk/; revision=10753
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r-- | mail/mail-display.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c index bdb4c3096a..780ba43034 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -269,6 +269,7 @@ launch_cb (GtkWidget *widget, gpointer user_data) "directory: %s"), g_strerror (errno)); gnome_error_dialog (msg); + g_free (tmpl); g_free (msg); return; } |