Fixed assertion failure in -M -A bal report

This commit is contained in:
John Wiegley 2010-01-21 04:59:45 -05:00
parent d406aeb85d
commit 0be486c58b

View file

@ -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();