In the documentation I have read that I don’t need to release the NSOperation object because it will be released by the NSOperationQueue, but the instruments gives me a memory leak if I don’t release it in some cases, in other cases it crashes if I release. What’s the problem what do you think?
Share
You have to release your copy that you created.
I assume that you are doing something like:
SomeOperationis subclass ofNSOperationwhich does something.Apple spec: