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
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.
release
name
system
-dealloc