talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 008fce789faf4e440c9559e886daa5901eea1414
parent afc83c6030ba8fa21e9cf6ef41b37b63fbc71ec6
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Sun, 11 Sep 2016 10:15:41 +0200

Fix an impossible crash to shut Coverity up.

Diffstat:
Msrc/plugins/rssyl/rssyl_update_comments.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/plugins/rssyl/rssyl_update_comments.c b/src/plugins/rssyl/rssyl_update_comments.c @@ -133,7 +133,9 @@ void rssyl_update_comments(RFolderItem *ritem) } } - g_free(feedctx->path); + if (feedctx != NULL) { + g_free(feedctx->path); + } feed_item_free(fi); g_free(fname); }