diff --git a/xwords4/common/movestak.c b/xwords4/common/movestak.c index c3d13a0ee..7f3397023 100644 --- a/xwords4/common/movestak.c +++ b/xwords4/common/movestak.c @@ -180,7 +180,8 @@ stack_destroy( StackCtxt* stack ) if ( !!stack->data ) { stream_destroy( stack->data ); } - ASSERT_NOT_DIRTY( stack ); + /* Ok to close with a dirty stack, e.g. if not saving a deleted game */ + // ASSERT_NOT_DIRTY( stack ); XP_FREE( stack->mpool, stack ); } /* stack_destroy */