cbess/AutoScrollLabel

memory management

Closed this issue · 1 comments

first i want to thank you very much for the code.
here is my error. when i run the "analyze" tool form xcode
i get the following message:
Potential leak of an object allocated on line 85

85 self.labels = [labelSet.allObjects copy];
86 NSRelease(labelSet)

can i just ignore that error or will apple reject my app for this.

with kind reagards,

thomas

You're welcome. From my knowledge, no, Apple does not use the static analyzer during the review process, they don't have your source code. They use a symbol dump, to test for private API use. Besides it is a "possible" leak because the SA can't determine the execution path for the memory release.