If we jump to `end` without this we crash (not necessarily visibly) due to a double free and the actual error message is not printed.
If we jump to `end` without this we crash (not necessarily visibly) due to a double free and the actual error message is not printed.