diff options
author | Michael Zucci <zucchi@src.gnome.org> | 2000-09-12 08:57:09 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-09-12 08:57:09 +0800 |
commit | a035de68d2b2e7739fde08ad924b106c8e8a45d6 (patch) | |
tree | 8d7e3866c2aad60bfbf115e77738b54d8bd9a5da | |
parent | c87e7df0906198271d0d40d2e59b5d54711826fd (diff) | |
download | gsoc2013-evolution-a035de68d2b2e7739fde08ad924b106c8e8a45d6.tar gsoc2013-evolution-a035de68d2b2e7739fde08ad924b106c8e8a45d6.tar.gz gsoc2013-evolution-a035de68d2b2e7739fde08ad924b106c8e8a45d6.tar.bz2 gsoc2013-evolution-a035de68d2b2e7739fde08ad924b106c8e8a45d6.tar.lz gsoc2013-evolution-a035de68d2b2e7739fde08ad924b106c8e8a45d6.tar.xz gsoc2013-evolution-a035de68d2b2e7739fde08ad924b106c8e8a45d6.tar.zst gsoc2013-evolution-a035de68d2b2e7739fde08ad924b106c8e8a45d6.zip |
(prune_empty): Plugged another small leak.
svn path=/trunk/; revision=5353
-rw-r--r-- | mail/ChangeLog | 1 | ||||
-rw-r--r-- | mail/message-thread.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 16bfca7391..b736ba20ed 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -5,6 +5,7 @@ parent list, otherwise remove it from the (supplied) root list. (group_root_set): When we merge children, free the lost node. (thread_messages_free): Remove the return, run as is. + (prune_empty): Plugged another small leak. 2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> diff --git a/mail/message-thread.c b/mail/message-thread.c index 4e976b4984..1306fafe0c 100644 --- a/mail/message-thread.c +++ b/mail/message-thread.c @@ -101,6 +101,7 @@ prune_empty(struct _container **cp) if (c->child == NULL) { d(printf("removing empty node\n")); lastc->next = c->next; + g_free(c); continue; } if (c->parent || c->child->next==0) { |