aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}