我收到一条罕见的消息,发生了什么事?
定义:
@property(nonatomic, retain) SoundPlayer* soundPlayer;
代码:
SoundPlayer *soundPlayerTemp = [[SoundPlayer alloc] init];
self.soundPlayer = soundPlayerTemp;
[soundPlayerTemp release];
信息:
Potential leak of an object allocated on line