[Commits] [SCM] claws branch, master, updated. 3.17.3-150-gcc60626
ticho at claws-mail.org
ticho at claws-mail.org
Mon Apr 22 13:07:45 CEST 2019
The branch, master has been updated
via cc60626486ae41a9bfd52e9ef1edbb2ab89d5539 (commit)
from 76b904c233f6565a9002bdb0be4e00115a0278d7 (commit)
Summary of changes:
src/plugins/rssyl/rssyl_deleted.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit cc60626486ae41a9bfd52e9ef1edbb2ab89d5539
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Mon Apr 22 12:58:59 2019 +0200
Fix a memory leak in rssyl_deleted_expire()
diff --git a/src/plugins/rssyl/rssyl_deleted.c b/src/plugins/rssyl/rssyl_deleted.c
index a264365..5d1bbfc 100644
--- a/src/plugins/rssyl/rssyl_deleted.c
+++ b/src/plugins/rssyl/rssyl_deleted.c
@@ -370,8 +370,9 @@ void rssyl_deleted_expire(RFolderItem *ritem, Feed *feed)
debug_print("RSSyl: (DELETED) removing '%s' from list\n", ditem->title);
d2 = d->next;
ritem->deleted_items = g_slist_remove_link(ritem->deleted_items, d);
+ _free_deleted_item(ditem, NULL);
+ g_slist_free(d);
d = d2;
- continue;
} else {
d = d->next;
}
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list