Below are three fragments of code, the first two are interfaces for two objects along with a couple of @property commands. Please note that this is just me learning, its not
you must call release by hands for each time you've called retain or alloc method.
Yes, by setting it to nil or calling release depending on OS.
If you are targeting Mac OS X, the best answer would be to turn on garbage collection and delete the -dealloc method.
To answer the specific question, you need to release
both name
and system
in your -dealloc
method.