--- xfce4-autostart-editor/xfae-model.c +++ xfce4-autostart-editor/xfae-model.c @@ -490,7 +490,7 @@ xfce_rc_close (rc); /* check if we should skip the item */ - if (G_UNLIKELY (skip)) + if (G_UNLIKELY (skip) && item) { xfae_item_free (item); item = NULL;