On 27/05/2015 at 06:51, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 15
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
---------
I have this bit of code:
BaseDocument* newDoc;
AtomArray* ar = AtomArray::Alloc();
ar->Append(b_source);
newDoc=IsolateObjects(doc,*ar);
Should I release the AtomArray ar and delete the newDoc created by the IsolateObjects command?
Or will it all be deleted once my code finishes?