I think the title describes the cause but I may be wrong. Found in ndnh, should apply to dnh.
This leads to trying to free zerobj when trying to save the level which is very bad and can crash.
This isn't safe and can lead to cobj being zerobj if the wish fails I guess? This handling should be fixed to not use zerobj and instead a ptr to no object.
I think the title describes the cause but I may be wrong. Found in ndnh, should apply to dnh.