diff --git a/src/account.cc b/src/account.cc index e6c7af56..f8729409 100644 --- a/src/account.cc +++ b/src/account.cc @@ -512,7 +512,7 @@ void account_t::xdata_t::details_t::update(post_t& post, if (post.has_flags(POST_VIRTUAL)) posts_virtuals_count++; - if (gather_all) + if (gather_all && post.pos) filenames.insert(post.pos->pathname); date_t date = post.date();