Revert "Fix a memory leak in `freeClass()` exposed by ... memcheck"

This reverts commit 4b90c2404f4b3209f491ab84780f735fba4a119d which as
discussed in issue #4685 is not a valid solution.
Ensure class labels are free'd in cases where label loading fails