Ignore:
Timestamp:
04/06/15 18:54:25 (10 years ago)
Author:
schlegel
Message:

CHG: clean up and reset file param for output file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/datastructures/DataSet.cpp

    r19254 r19261  
    215215                                fileparam=new FileParam();
    216216                                fileparam->Marshall(pmarshalled_data,pmarshalled_data_size,marshall_direction);
    217                                 this->AddObject(fileparam);
     217                                delete fileparam;
     218                                /* No need to add this object, the pointer is not valid             
     219                                   The FemModel should reset all FileParams in the restart function */
    218220                        }
    219221                        else if(obj_enum==StringParamEnum){
Note: See TracChangeset for help on using the changeset viewer.