diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/e-mail-label-list-store.c | 1 | ||||
-rw-r--r-- | mail/e-mail-sidebar.c | 2 | ||||
-rw-r--r-- | mail/em-folder-tree.c | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/mail/e-mail-label-list-store.c b/mail/e-mail-label-list-store.c index 706aaac5e9..bf642168ff 100644 --- a/mail/e-mail-label-list-store.c +++ b/mail/e-mail-label-list-store.c @@ -247,6 +247,7 @@ labels_model_changed_cb (GtkTreeModel *model, store->priv->mail_settings, "labels", (const gchar * const *) array->pdata); + g_ptr_array_foreach (array, (GFunc) g_free, NULL); g_ptr_array_free (array, TRUE); g_signal_handlers_unblock_by_func ( diff --git a/mail/e-mail-sidebar.c b/mail/e-mail-sidebar.c index ef2133aebe..d4aeeb7026 100644 --- a/mail/e-mail-sidebar.c +++ b/mail/e-mail-sidebar.c @@ -171,6 +171,8 @@ mail_sidebar_selection_changed_cb (GtkTreeSelection *selection, if (CAMEL_IS_STORE (store) && folder_name != NULL) uri = e_mail_folder_uri_build (store, folder_name); + + g_free (folder_name); } if (uri != NULL) diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index d55253e388..45d83d4568 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -2294,6 +2294,7 @@ tree_drag_data_received (GtkWidget *widget, gdk_drag_context_get_selected_action (context) == GDK_ACTION_MOVE)) { gtk_drag_finish (context, FALSE, FALSE, GDK_CURRENT_TIME); gtk_tree_path_free (dest_path); + g_free (full_name); return; } |