Changeset 5135


Ignore:
Timestamp:
08/10/10 16:07:03 (15 years ago)
Author:
Mathieu Morlighem
Message:

destructor should destroy dynamically allocated fields

Location:
issm/trunk/src/c/objects
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/DofIndexing.cpp

    r5114 r5135  
    5454/*FUNCTION DofIndexing::~DofIndexing() {{{1*/
    5555DofIndexing::~DofIndexing(){ //destructor
     56
     57        xfree((void**)&f_set);
     58        xfree((void**)&s_set);
     59        xfree((void**)&doflist);
     60
    5661}
    5762/*}}}*/
  • issm/trunk/src/c/objects/Elements/Tria.cpp

    r5103 r5135  
    659659        parameters->FindParam(&analysis_type,AnalysisTypeEnum);
    660660
    661         /*asserts: {{{2*/
     661        /*Checks in debugging mode{{{2*/
    662662        ISSMASSERT(this->nodes && this->matice && this->matpar && this->parameters && this->inputs);
    663663        /*}}}*/
Note: See TracChangeset for help on using the changeset viewer.