talons

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

commit c3345bcdef2c9b903260e806573b622f209ed5b6
parent 8d59235e93965971d61375baa4a35a86a16e99a3
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Sat,  9 Apr 2016 18:06:26 +0200

Prevent an unlikely crash during RSSyl feed properties save.

This is just to shut Coverity up, I don't think it could
ever crash this way.

Diffstat:
Msrc/plugins/rssyl/rssyl_feed_props.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/plugins/rssyl/rssyl_feed_props.c b/src/plugins/rssyl/rssyl_feed_props.c @@ -49,6 +49,7 @@ static void rssyl_gtk_prop_store(RFolderItem *ritem) g_return_if_fail(ritem != NULL); g_return_if_fail(ritem->feedprop != NULL); + g_return_if_fail(ritem->url != NULL); url = (gchar *)gtk_entry_get_text(GTK_ENTRY(ritem->feedprop->url));