When deleting a post from an xact, remove it from its account
This commit is contained in:
parent
05725eab3f
commit
121d878a0c
1 changed files with 2 additions and 0 deletions
|
|
@ -55,6 +55,8 @@ xact_base_t::~xact_base_t()
|
||||||
// If the posting is a temporary, it will be destructed when the
|
// If the posting is a temporary, it will be destructed when the
|
||||||
// temporary is.
|
// temporary is.
|
||||||
assert(! post->has_flags(ITEM_TEMP));
|
assert(! post->has_flags(ITEM_TEMP));
|
||||||
|
|
||||||
|
post->account->remove_post(post);
|
||||||
checked_delete(post);
|
checked_delete(post);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue