I noticed that in the first example of this Chapter (chapter 21) that in the class Asset we override the dealloc method inherited from this classes super NSObject (see Asset.m page 126 in my book).
We do this by declaring our own version of dealloc, and by doing so we use NSLog to output a message onto the screen. This message gives us indication that the dealloc method has been called.
This method however does nothing more in terms of actually deallocating the Object.
My question is: Would this not cause memory leaks to occur, because we have actually broken the chain of events that do the actual deallocation?
All comments welcome
Update Oct 28, 2012:
Sorry everyone for this post, it actually belongs in the discussion for Chapter 20 not 21. I will repost it there.