From 91a5d904960bf14d001d5592ec886700c6a762b0 Mon Sep 17 00:00:00 2001 From: Hiroyuki Ikezoe Date: Fri, 7 Jul 2006 23:53:23 +0000 Subject: ** Fixes bug #341369 2006-07-07 Hiroyuki Ikezoe ** Fixes bug #341369 * filter/rule-editor.c: * plugins/exchange-operations/exchange-calendar.c: * plugins/exchange-operations/exchange-contacts.c: * plugins/save-attachments/save-attachments.c: fixing memory leaks. svn path=/trunk/; revision=32256 --- filter/ChangeLog | 5 +++++ filter/rule-editor.c | 2 ++ plugins/exchange-operations/ChangeLog | 6 ++++++ plugins/exchange-operations/exchange-calendar.c | 1 + plugins/exchange-operations/exchange-contacts.c | 1 + plugins/save-attachments/ChangeLog | 5 +++++ plugins/save-attachments/save-attachments.c | 2 ++ 7 files changed, 22 insertions(+) diff --git a/filter/ChangeLog b/filter/ChangeLog index 20493e5ffc..bcf6854679 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,8 @@ +2006-07-07 Hiroyuki Ikezoe + + ** Fixes bug #341369 + * rule-editor.c: fixing a memory leak. + 2006-02-24 Shi Pu ** Fixes Bug #323853 diff --git a/filter/rule-editor.c b/filter/rule-editor.c index b10b00f7d5..9a24089ff4 100644 --- a/filter/rule-editor.c +++ b/filter/rule-editor.c @@ -742,6 +742,8 @@ rule_editor_treeview_new (char *widget_name, char *string1, char *string2, int i gtk_widget_show (scrolled); gtk_widget_show (table); + + g_object_unref (model); return scrolled; } diff --git a/plugins/exchange-operations/ChangeLog b/plugins/exchange-operations/ChangeLog index 6a5765c87e..fb8ddbb117 100644 --- a/plugins/exchange-operations/ChangeLog +++ b/plugins/exchange-operations/ChangeLog @@ -1,3 +1,9 @@ +2006-07-07 Hiroyuki Ikezoe + + ** Fixes bug #341369 + * exchange-calendar.c: + * exchange-contacts.c: fixing a memory leak. + 2006-06-15 Sushma Rai * Makefile.am: Added exchange-oof.glade to the list of glade files. diff --git a/plugins/exchange-operations/exchange-calendar.c b/plugins/exchange-operations/exchange-calendar.c index 1fcd795a34..3d47c6c636 100644 --- a/plugins/exchange-operations/exchange-calendar.c +++ b/plugins/exchange-operations/exchange-calendar.c @@ -296,6 +296,7 @@ e_exchange_calendar_pcalendar (EPlugin *epl, EConfigHookItemFactoryData *data) } g_ptr_array_free (callist, TRUE); + g_object_unref (ts_pcalendar); return tv_pcalendar; } diff --git a/plugins/exchange-operations/exchange-contacts.c b/plugins/exchange-operations/exchange-contacts.c index 0699a70a78..eae0944491 100644 --- a/plugins/exchange-operations/exchange-contacts.c +++ b/plugins/exchange-operations/exchange-contacts.c @@ -294,6 +294,7 @@ e_exchange_contacts_pcontacts (EPlugin *epl, EConfigHookItemFactoryData *data) } g_ptr_array_free (conlist, TRUE); + g_object_unref (ts_pcontacts); return vb_pcontacts; } diff --git a/plugins/save-attachments/ChangeLog b/plugins/save-attachments/ChangeLog index 6c600e6597..a2150378c5 100644 --- a/plugins/save-attachments/ChangeLog +++ b/plugins/save-attachments/ChangeLog @@ -1,3 +1,8 @@ +2006-07-07 Hiroyuki Ikezoe + + ** Fixes bug #341369 + * save-attachments.c: fixing a memory leak. + 2006-02-28 Shi Pu ** Fixes #323853 diff --git a/plugins/save-attachments/save-attachments.c b/plugins/save-attachments/save-attachments.c index 0d8e0c7ff4..9f28d71c30 100644 --- a/plugins/save-attachments/save-attachments.c +++ b/plugins/save-attachments/save-attachments.c @@ -91,6 +91,8 @@ free_data(struct _save_data *data) g_free(data->path); g_free(data->uid); camel_object_unref(data->folder); + if (data->model) + g_object_unref(data->model); g_free(data); } -- cgit