Changeset 2012


Ignore:
Timestamp:
08/27/09 12:07:23 (15 years ago)
Author:
Mathieu Morlighem
Message:

fixed leak

File:
1 edited

Legend:

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

    r1890 r2012  
    6060        outputfilename=argv[3];
    6161        lockname=argv[4];
    62 
    63         /*Initialize model structure: */
    64         model=new Model();
    6562
    6663        /*Open handle to data on disk: */
     
    134131        /*end module: */
    135132        MODULEEND();
     133
     134        /*Free ressources */
     135        xfree((void**)&u_g);
     136        xfree((void**)&p_g);
     137        delete model;
     138        delete results;
     139        delete inputs;
    136140       
    137141        return 0; //unix success return;
Note: See TracChangeset for help on using the changeset viewer.