6
@property(nonatomic, retain) NSMutableArray* playerList;
...iPhone - 정적 분석기가이 문제를 해결하지 않은 이유는 무엇입니까? 이 메모리는 바로 누출되는
team.playerList = [[NSMutableArray alloc] initWithArray:self.playerList];
?
정적 분석가가 왜이 문제를 해결하지 못했습니까?
+1, 좋은 질문 – vodkhang
당연히 당신은 getter와 setter를 직접 작성하지 않고 @synthesize를 다른 곳에서 사용했습니다. – Tommy
@ 토미 예 thats right – Robert