This repository was archived by the owner on May 28, 2024. It is now read-only.

Description
ATMHudView retains its parent ATMHud object when initWithFrame:andController: is called. But ATMHud also retains the ATMHudView. Therefore a retain cycle and nothing can ever get deallocated.
The faulty line is this, in ATMHudView.h:
@property (nonatomic, retain) ATMHud *p;
That needs to change to assign and then in [ATMHudView dealloc], p should not be released.