From a035de68d2b2e7739fde08ad924b106c8e8a45d6 Mon Sep 17 00:00:00 2001 From: Michael Zucci Date: Tue, 12 Sep 2000 00:57:09 +0000 Subject: (prune_empty): Plugged another small leak. svn path=/trunk/; revision=5353 --- mail/ChangeLog | 1 + mail/message-thread.c | 1 + 2 files changed, 2 insertions(+) (limited to 'mail') 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 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) { -- cgit v1.2.3