This is not really surprising if you come from a C/C++ background. You are then used to referencing counting, if some part of the code is no longer referencing something it is garbage collected.
You might want to replace C/C++ with C#. Neither C nor C++ have native reference counting or garbage collection.
You might want to replace C/C++ with C#. Neither C nor C++ have native reference counting or garbage collection.
fair.. I must have been thinking about Objective-c..