aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
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/gui
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/gui')
-rw-r--r--addressbook/gui/widgets/e-minicard.c1
1 files changed, 1 insertions, 0 deletions
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);
}