Fixed memory leaks pertaining to a super() call.