aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog1
-rw-r--r--mail/message-thread.c1
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) {