まれなメッセージが表示されています。初期化時のメモリリークメッセージ
Deffinition:
@property(nonatomic, retain) SoundPlayer* soundPlayer;
コード:
SoundPlayer *soundPlayerTemp = [[SoundPlayer alloc] init];
self.soundPlayer = soundPlayerTemp;
[soundPlayerTemp release];
メッセージ:
Potential leak of an object allocated on line
です:あなたのような何かを持っている必要がありますか? – CarlJ