Changeset 1661


Ignore:
Timestamp:
08/12/09 17:14:13 (16 years ago)
Author:
Mathieu Morlighem
Message:

Fixed HUGE LEAK in diagnostic_core_nonlinear

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/parallel/diagnostic_core_nonlinear.cpp

    r1660 r1661  
    186186                if (!constraints_converged) converged=0;
    187187
     188                //no need for Kff and pf anymore
     189                MatFree(&Kff);VecFree(&pf);
     190
    188191                /*Increase count: */
    189192                count++;
    190193                if(converged==1)break;
    191194       
    192                 //no need for Kff and pf anymore
    193                 MatFree(&Kff);VecFree(&pf);
    194195        }
    195196
Note: See TracChangeset for help on using the changeset viewer.