[evolution-patches] mailer leak fixes.
- From: Larry Ewing <lewing ximian com>
- To: patches <evolution-patches ximian com>
- Subject: [evolution-patches] mailer leak fixes.
- Date: 11 Jun 2003 14:04:22 -0500
Some fixes for leaks in the mailer.
--Larry
? .evolution-mail.schemas.swp
? gtkhtml-1.1.7-domain.patch
? mail-fonts.c
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.2747
diff -u -p -r1.2747 ChangeLog
--- ChangeLog 11 Jun 2003 16:19:33 -0000 1.2747
+++ ChangeLog 11 Jun 2003 19:03:08 -0000
@@ -1,3 +1,11 @@
+2003-06-11 Larry Ewing <lewing ximian com>
+
+ * mail-send-recv.c (free_folder_info): free the info structure as
+ well.
+
+ * mail-format.c (mail_lookup_handler): free the application list
+ if we are bailing.
+
2003-06-06 Jeffrey Stedfast <fejj ximian com>
* message-tag-followup.c (get_week_start_day): Use mail-config's
Index: mail-format.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/mail-format.c,v
retrieving revision 1.285
diff -u -p -r1.285 mail-format.c
--- mail-format.c 11 Jun 2003 16:19:35 -0000 1.285
+++ mail-format.c 11 Jun 2003 19:03:09 -0000
@@ -502,6 +502,8 @@ mail_lookup_handler (const char *mime_ty
}
/* Nada. */
+
+ gnome_vfs_mime_application_list_free (handler->applications);
g_free (handler);
return NULL;
Index: mail-send-recv.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/mail-send-recv.c,v
retrieving revision 1.72
diff -u -p -r1.72 mail-send-recv.c
--- mail-send-recv.c 1 May 2003 02:19:46 -0000 1.72
+++ mail-send-recv.c 11 Jun 2003 19:03:09 -0000
@@ -157,6 +157,7 @@ free_folder_info(void *key, struct _fold
mail_sync_folder(info->folder, NULL, NULL);
camel_object_unref(info->folder);
g_free(info->uri);
+ g_free(info);
}
static void free_send_info(void *key, struct _send_info *info, void *data)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]