diff options
Diffstat (limited to 'plugins/save-attachments')
-rw-r--r-- | plugins/save-attachments/ChangeLog | 5 | ||||
-rw-r--r-- | plugins/save-attachments/save-attachments.c | 2 |
2 files changed, 7 insertions, 0 deletions
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 <poincare@ikezoe.net> + + ** Fixes bug #341369 + * save-attachments.c: fixing a memory leak. + 2006-02-28 Shi Pu <shi.pu@sun.com> ** 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); } |