Changeset 9392


Ignore:
Timestamp:
08/23/11 13:26:42 (14 years ago)
Author:
Mathieu Morlighem
Message:

Fixed segfault

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

Legend:

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

    r9384 r9392  
    44954495                        _error_("response %s not supported yet",EnumToStringx(responses[resp]));
    44964496        }
     4497        xfree((void**)&responses);
    44974498}
    44984499/*}}}*/
     
    52595260
    52605261        /*DatasetInputs*/
    5261         if (iomodel->f(WeightsEnum)) {
     5262        if (control_analysis && iomodel->f(WeightsEnum)) {
    52625263
    52635264                /*Create inputs and add to DataSetInput*/
  • issm/trunk/src/c/objects/Elements/Tria.cpp

    r9380 r9392  
    27422742                        _error_("response %s not supported yet",EnumToStringx(responses[resp]));
    27432743        }
     2744
     2745        xfree((void**)&responses);
    27442746}
    27452747/*}}}*/
     
    33323334
    33333335        /*DatasetInputs*/
    3334         if (control_analysis) {
     3336        if (control_analysis && iomodel->f(WeightsEnum)){
    33353337
    33363338                /*Create inputs and add to DataSetInput*/
Note: See TracChangeset for help on using the changeset viewer.