From 546128c8d99b1edd859ba5d8b57549550b910a1d Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 13 Apr 2001 21:42:26 +0000 Subject: Remove some redundant LIBS variables... purify complained that the command * Makefile.am (evolution_mail_LDADD): Remove some redundant LIBS variables... purify complained that the command line was too long. :-} * mail-account-gui.c: Plug leaks. * mail-display.c (on_url_requested): close the html stream on error too. * mail-ops.c (fetch_mail_fetch): Move a line around that probably doesn't affect anything, but it's correct. * session.c (auth_callback): Plug leak. * mail-send-recv.c (receive_status): Initialize "now". svn path=/trunk/; revision=9303 --- mail/mail-account-gui.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'mail/mail-account-gui.c') diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c index abae1d948d..07d84d1138 100644 --- a/mail/mail-account-gui.c +++ b/mail/mail-account-gui.c @@ -450,6 +450,8 @@ mail_account_gui_build_extra_conf (MailAccountGui *gui, const char *url_string) if (!gui->source.provider) { gtk_widget_set_sensitive (main_vbox, FALSE); + if (url) + camel_url_free (url); return; } else gtk_widget_set_sensitive (main_vbox, TRUE); @@ -597,6 +599,8 @@ mail_account_gui_build_extra_conf (MailAccountGui *gui, const char *url_string) done: gtk_widget_show_all (main_vbox); + if (url) + camel_url_free (url); } static void @@ -737,6 +741,7 @@ setup_service (MailAccountGuiService *gsvc, MailConfigService *service) has_auth = TRUE; } + camel_url_free (url); gtk_toggle_button_set_active (gsvc->remember, service->save_passwd); @@ -1178,5 +1183,10 @@ mail_account_gui_destroy (MailAccountGui *gui) gtk_object_unref (GTK_OBJECT (gui->xml)); if (gui->extra_config) g_hash_table_destroy (gui->extra_config); + g_free (gui->drafts_folder.name); + g_free (gui->drafts_folder.uri); + g_free (gui->sent_folder.name); + g_free (gui->sent_folder.uri); + g_free (gui); } -- cgit