[evolution-rss/evolution-rss-0-2-0] fix potential crash in feeds_dialog_edit



commit 9988145267b26ca4f1dfb9dfcbf0a59f2d37ce67
Author: Lucian Langa <lucilanga gnome org>
Date:   Tue Jul 13 20:45:56 2010 +0300

    fix potential crash in feeds_dialog_edit

 src/rss-config-factory.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rss-config-factory.c b/src/rss-config-factory.c
index 789e618..d0def7f 100644
--- a/src/rss-config-factory.c
+++ b/src/rss-config-factory.c
@@ -1593,7 +1593,7 @@ feeds_dialog_edit(GtkDialog *d, gpointer data)
 				gtk_widget_destroy(feed->dialog);
 			process_dialog_edit(feed, name, feed_name);
 		}
-		if (feed->feed_url)
+		if (feed && feed->feed_url)
 			store_redraw(GTK_TREE_VIEW(rf->treeview));
 	}
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]