bugCal3D - 3d character animation library - Bugs: bug #11685, CalCoreAnimation doesn't cleanup...

Show feedback again

bug #11685: CalCoreAnimation doesn't cleanup its list of tracks

Submitted by:  None
Submitted on:  Wed May 14 14:22:34 2008  
Category: NoneSeverity: 4 - Important
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Wed May 14 14:22:34 2008, original submission:

Replace the currently empty CalCoreAnimation destructor with the following code, to prevent a major memory leak from happening. Tested with valgrind, with this patch no leak occurs anymore.

std::list<CalCoreTrack *>::iterator iteratorCoreTrack;
for(iteratorCoreTrack = m_listCoreTrack.begin(); iteratorCoreTrack != m_listCoreTrack.end(); ++iteratorCoreTrack)
delete *iteratorCoreTrack;



(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by mp3butcher (Updated the item)
  • -unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Mar 19 17:27:38 2017mp3butcherStatusNone=>Fixed
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup