Writing Managed Wrappers with Managed C++
Subject:   Mistake in the article
Date:   2007-06-11 00:33:20
From:   villalvilla
Hi all,
I'm writting because I find important to put focus on the step 2 of this good article. When you make a deep copy of the pointers of the unmanaged class, if any of them were dinamically instantiated in the constructor of the class, they won't be freed, so before the deep copy you must be sure that all the dinamic memory of the new object has been freed propertly.