Does BaseTrack::Free() free its seqs/keys



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 12/11/2005 at 23:50, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   8.503 
    Platform:   Windows  ; Mac  ;  Mac OSX  ; 
    Language(s) :     C++  ;

    ---------
    When I do the following, are the BaseSequences and BaseKeys assigned to the BaseTrack freed during BaseTrack::Free() call? (Just to be certain) :

    if (track = tag->FindTrack(DescLevel(IPPDIAL_NEWVALUE, DTYPE_REAL, 0)))  
    {  
         if (doUndo) baseDocument->AddUndo(UNDO_DELETE, track);  
         track->Remove();  
         BaseTrack::Free((BaseTrack*&)track);  
    }
    


  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 17/11/2005 at 08:32, xxxxxxxx wrote:

    Yes, I think they should be. (An easy way to verify such things is to use the c4d_debug.txt method to make C4D output memory leaks to the console when it exits.)


Log in to reply