[evolution-rss] fix potential crash in feeds_dialog_edit
- From: Lucian Langa <lucilanga src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-rss] fix potential crash in feeds_dialog_edit
- Date: Tue, 13 Jul 2010 17:46:22 +0000 (UTC)
commit b6107818e9e3a5af8bab23ad97d2f90a23a7a210
Author: Lucian Langa <lucilanga gnome org>
Date: Tue Jul 13 20:45:44 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 853b70f..009e677 100644
--- a/src/rss-config-factory.c
+++ b/src/rss-config-factory.c
@@ -1586,7 +1586,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]