Fix an impossible crash to shut Coverity up.
authorAndrej Kacian <ticho@claws-mail.org>
Sun, 11 Sep 2016 08:15:41 +0000 (10:15 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Sun, 11 Sep 2016 08:15:41 +0000 (10:15 +0200)
src/plugins/rssyl/rssyl_update_comments.c

index 126847b..581d379 100644 (file)
@@ -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);
                }