Action #1046

Check that all container classes properly deallocate elements in the remove() method

Added by Knödlseder Jürgen about 11 years ago. Updated almost 11 years ago.

Status:ClosedStart date:12/18/2013
Priority:HighDue date:
Assigned To:Knödlseder Jürgen% Done:

100%

Category:-Estimated time:0.00 hour
Target version:00-08-00
Duration:

Description

Container classes now use the erase() function to remove elements, but the elements need to be deleted if the container holds pointers. So all container classes should be checked for proper deleting of elements.


Recurrence

No recurrence.

History

#1 Updated by Knödlseder Jürgen about 11 years ago

  • Status changed from New to Feedback
  • Assigned To set to Knödlseder Jürgen
  • % Done changed from 0 to 100
  • Remaining (hours) set to 0.0
The following containers have been modified:
  • GFits
  • GObservations
  • GSkyRegions
  • GXmlNode

A delete statement has been added for all these classes to the remove() method(s).

#2 Updated by Knödlseder Jürgen almost 11 years ago

  • Status changed from Feedback to Closed
  • Estimated time set to 0.00

Also available in: Atom PDF