Fixed NULL pointer bug if --account=EXPR is invalid
This commit is contained in:
parent
a05d39b722
commit
2056396699
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ temporaries_t::~temporaries_t()
|
|||
if (! post.xact->has_flags(ITEM_TEMP))
|
||||
post.xact->remove_post(&post);
|
||||
|
||||
if (! post.account->has_flags(ACCOUNT_TEMP))
|
||||
if (post.account && ! post.account->has_flags(ACCOUNT_TEMP))
|
||||
post.account->remove_post(&post);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue