Skip to content

Commit

Permalink
Guard on missing data
Browse files Browse the repository at this point in the history
  • Loading branch information
lwindolf committed Mar 13, 2024
1 parent d337a46 commit b57ea14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/itemlist.c
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ itemlist_selection_changed (itemPtr item)
item_set_read_state (item, TRUE);
itemview_set_mode (ITEMVIEW_SINGLE_ITEM);

if (IS_FEED(node) && ((feedPtr)node->data)->loadItemLink && (link = item_make_link (item))) {
if (IS_FEED(node) && node->data && ((feedPtr)node->data)->loadItemLink && (link = item_make_link (item))) {
itemview_launch_URL (link, TRUE /* force internal */);
g_free (link);
} else {
Expand Down

0 comments on commit b57ea14

Please sign in to comment.