Reputation: 12431
I am hitting the below memory leak warning after analyzing my code.
However, the warning is not showing up within my code to tell me exactly where this leak is happening. Can anyone advise me on what usually cause this leak and how can I search my code to identify it?
Upvotes: 2
Views: 262
Reputation: 9718
According to Cocoa naming convention, methods other than ones starting with init
, new
, copy
or mutableCopy
must return self-owned or autoreleased object. The caller must also aware that the object returned from the methods need no releasing.
Upvotes: 1