avoid spurious error message, when no storage fix is active/used

This commit is contained in:
Axel Kohlmeyer 2017-01-16 17:08:00 -05:00
parent 3f46b6d782
commit 2f13365cf5
1 changed files with 1 additions and 1 deletions

View File

@ -493,7 +493,7 @@ ComputeChunkAtom::~ComputeChunkAtom()
{ {
// check nfix in case all fixes have already been deleted // check nfix in case all fixes have already been deleted
if (modify->nfix) modify->delete_fix(id_fix); if (id_fix && modify->nfix) modify->delete_fix(id_fix);
delete [] id_fix; delete [] id_fix;
memory->destroy(chunk); memory->destroy(chunk);