aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/save-attachments
diff options
context:
space:
mode:
authorHiroyuki Ikezoe <poincare@ikezoe.net>2006-07-08 07:53:23 +0800
committerAndre Klapper <aklapper@src.gnome.org>2006-07-08 07:53:23 +0800
commit91a5d904960bf14d001d5592ec886700c6a762b0 (patch)
tree6f673d3819f84921e421c58ad11c7e75ba93822e /plugins/save-attachments
parent7d3f08b618650378aee7208ef08f1b03c70402a6 (diff)
downloadgsoc2013-evolution-91a5d904960bf14d001d5592ec886700c6a762b0.tar
gsoc2013-evolution-91a5d904960bf14d001d5592ec886700c6a762b0.tar.gz
gsoc2013-evolution-91a5d904960bf14d001d5592ec886700c6a762b0.tar.bz2
gsoc2013-evolution-91a5d904960bf14d001d5592ec886700c6a762b0.tar.lz
gsoc2013-evolution-91a5d904960bf14d001d5592ec886700c6a762b0.tar.xz
gsoc2013-evolution-91a5d904960bf14d001d5592ec886700c6a762b0.tar.zst
gsoc2013-evolution-91a5d904960bf14d001d5592ec886700c6a762b0.zip
** Fixes bug #341369
2006-07-07 Hiroyuki Ikezoe <poincare@ikezoe.net> ** 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
Diffstat (limited to 'plugins/save-attachments')
-rw-r--r--plugins/save-attachments/ChangeLog5
-rw-r--r--plugins/save-attachments/save-attachments.c2
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);
}