aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/mbox/camel-mbox-folder.c2
-rw-r--r--camel/providers/pop3/camel-pop3-folder.c1
-rw-r--r--camel/providers/pop3/camel-pop3-store.c3
3 files changed, 6 insertions, 0 deletions
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);
}
diff --git a/camel/providers/pop3/camel-pop3-folder.c b/camel/providers/pop3/camel-pop3-folder.c
index 45687e4f33..396bbc04f6 100644
--- a/camel/providers/pop3/camel-pop3-folder.c
+++ b/camel/providers/pop3/camel-pop3-folder.c
@@ -198,6 +198,7 @@ get_message_by_uid (CamelFolder *folder, const char *uid, CamelException *ex)
}
msgstream = camel_stream_mem_new_with_buffer (body, strlen (body));
+ g_free (body);
msg = camel_mime_message_new ();
camel_data_wrapper_construct_from_stream (CAMEL_DATA_WRAPPER (msg),
msgstream);
diff --git a/camel/providers/pop3/camel-pop3-store.c b/camel/providers/pop3/camel-pop3-store.c
index 4b4a4acbf7..813ab6eaf7 100644
--- a/camel/providers/pop3/camel-pop3-store.c
+++ b/camel/providers/pop3/camel-pop3-store.c
@@ -418,6 +418,7 @@ pop3_connect (CamelService *service, CamelException *ex)
g_free (msg);
pop3_disconnect (service, ex);
}
+ g_free (msg);
status = camel_pop3_command (store, &msg, "PASS %s",
service->url->passwd);
@@ -453,6 +454,7 @@ pop3_connect (CamelService *service, CamelException *ex)
pop3_disconnect (service, ex);
return FALSE;
}
+ g_free (msg);
service_class->connect (service, ex);
return TRUE;
@@ -613,6 +615,7 @@ camel_pop3_command_get_additional_data (CamelPop3Store *store,
memmove (buf, buf + 1, strlen (buf));
g_ptr_array_add (data, buf);
}
+ g_free (buf);
if (status == CAMEL_POP3_OK) {
/* Append an empty string to the end of the array