In reply to dave_59:
Thanks, Dave.
Well, I have tried some code out by having failed, I have no way out. My approach was to declare a function in which I was deallocating memory by assigning null and the Decreasing the no_obj_ctreate.
When I called the function , it didn’t work.