Remove unnecessary check in stack_destroy()