From 7a5b5c31e4312fbf307c39b25d79a2610c5559ae Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 2 Jun 2000 06:34:58 +0000 Subject: Fun with purify. * providers/pop3/camel-pop3-store.c (pop3_connect): free msg on success as well as failure. (camel_pop3_command_get_additional_data): free buf after reading the last line ("."). * providers/pop3/camel-pop3-folder.c (get_message_by_uid): free body data after creating the memstream from it (which will copy the data). * providers/mbox/camel-mbox-folder.c (mbox_finalize): free summary and index paths. * camel-data-wrapper.c (finalize): unref the stream, if it exists. svn path=/trunk/; revision=3381 --- camel/providers/mbox/camel-mbox-folder.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'camel/providers/mbox') diff --git a/camel/providers/mbox/camel-mbox-folder.c b/camel/providers/mbox/camel-mbox-folder.c index c663824301..56af83a98b 100644 --- a/camel/providers/mbox/camel-mbox-folder.c +++ b/camel/providers/mbox/camel-mbox-folder.c @@ -131,7 +131,9 @@ mbox_finalize (GtkObject *object) CamelMboxFolder *mbox_folder = CAMEL_MBOX_FOLDER (object); g_free (mbox_folder->folder_file_path); + g_free (mbox_folder->summary_file_path); g_free (mbox_folder->folder_dir_path); + g_free (mbox_folder->index_file_path); GTK_OBJECT_CLASS (parent_class)->finalize (object); } -- cgit v1.2.3