Changeset 1943


Ignore:
Timestamp:
08/26/09 14:28:00 (16 years ago)
Author:
Eric.Larour
Message:

big leaks

File:
1 edited

Legend:

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

    r1881 r1943  
    213213                        xfree((void**)&u_g_serial);
    214214                        xfree((void**)&partition);
     215                        VecFree(&u_g);
    215216                }
    216217                else if(strcmp(result->GetFieldName(),"p_g")==0){
     
    247248                        xfree((void**)&p_g_serial);
    248249                        xfree((void**)&partition);
     250                        VecFree(&p_g);
    249251                }
    250252                else if(strcmp(result->GetFieldName(),"t_g")==0){
     
    268270                        xfree((void**)&t_g_serial);
    269271                        xfree((void**)&partition);
     272                        VecFree(&t_g);
    270273                }
    271274                else if(strcmp(result->GetFieldName(),"m_g")==0){
     
    290293                        xfree((void**)&m_g_serial);
    291294                        xfree((void**)&partition);
     295                        VecFree(&m_g);
    292296                }
    293297                else if(strcmp(result->GetFieldName(),"h_g")==0){
     
    311315                        xfree((void**)&h_g_serial);
    312316                        xfree((void**)&partition);
     317                        VecFree(&h_g);
    313318                }
    314319                else if(strcmp(result->GetFieldName(),"s_g")==0){
     
    332337                        xfree((void**)&s_g_serial);
    333338                        xfree((void**)&partition);
     339                        VecFree(&s_g);
    334340                }
    335341                else if(strcmp(result->GetFieldName(),"b_g")==0){
     
    353359                        xfree((void**)&b_g_serial);
    354360                        xfree((void**)&partition);
     361                        VecFree(&b_g);
    355362                }
    356363                else if(strcmp(result->GetFieldName(),"param_g")==0){
     
    372379                        /*do some cleanup: */
    373380                        xfree((void**)&partition);
     381                        xfree((void**)&param_g);
    374382                }
    375383                else if(strcmp(result->GetFieldName(),"riftproperties")==0){
     
    381389                        newresult=new Result(newresults->Size()+1,result->GetTime(),result->GetStep(),"riftproperties",riftproperties_serial,numrifts);
    382390                        newresults->AddObject(newresult);
     391                        xfree((void**)&riftproperties);
    383392
    384393                }
Note: See TracChangeset for help on using the changeset viewer.