aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorHiroyuki Ikezoe <poincare@ikezoe.net>2007-07-26 17:03:30 +0800
committerHiroyuki Ikezoe <hiikezoe@src.gnome.org>2007-07-26 17:03:30 +0800
commit29ba4f681eb84e21e2ef55c345e2fd798bd6dc39 (patch)
tree9e2c048b4801525f358b9a20c804600f82c1b536 /addressbook
parenta9bc4ffd24f052585263f93fef32a32433284c86 (diff)
downloadgsoc2013-evolution-29ba4f681eb84e21e2ef55c345e2fd798bd6dc39.tar
gsoc2013-evolution-29ba4f681eb84e21e2ef55c345e2fd798bd6dc39.tar.gz
gsoc2013-evolution-29ba4f681eb84e21e2ef55c345e2fd798bd6dc39.tar.bz2
gsoc2013-evolution-29ba4f681eb84e21e2ef55c345e2fd798bd6dc39.tar.lz
gsoc2013-evolution-29ba4f681eb84e21e2ef55c345e2fd798bd6dc39.tar.xz
gsoc2013-evolution-29ba4f681eb84e21e2ef55c345e2fd798bd6dc39.tar.zst
gsoc2013-evolution-29ba4f681eb84e21e2ef55c345e2fd798bd6dc39.zip
Plugged memory leak.
2007-07-26 Hiroyuki Ikezoe <poincare@ikezoe.net> * gui/widgets/e-minicard.c: (add_email_field): Plugged memory leak. svn path=/trunk/; revision=33839
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog4
-rw-r--r--addressbook/gui/widgets/e-minicard.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index af142b141f..c232ee50a6 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,7 @@
+2007-07-26 Hiroyuki Ikezoe <poincare@ikezoe.net>
+
+ * gui/widgets/e-minicard.c: (add_email_field): Plugged memory leak.
+
2007-07-20 Claude Paroz <claude@2xlibre.net>
* tools/evolution-addressbook-export.c: Minor typo.
diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c
index 986dabc992..8fd4362fbf 100644
--- a/addressbook/gui/widgets/e-minicard.c
+++ b/addressbook/gui/widgets/e-minicard.c
@@ -885,6 +885,7 @@ add_email_field (EMinicard *e_minicard, GList *email_list, gdouble left_width, i
g_free(name);
g_free(string);
}
+ g_list_foreach (emails, (GFunc) g_free, NULL);
g_list_free (emails);
}