Changeset 2276


Ignore:
Timestamp:
01/03/22 17:05:22 (2 years ago)
Author:
jderouillat
Message:

Fix in previous commit, CClientBuffer must be free in CContext::finalize

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/context_client.cpp

    r2275 r2276  
    369369   void CContextClient::releaseBuffers() 
    370370   { 
    371       //map<int,CClientBuffer*>::iterator itBuff; 
    372       //for (itBuff = buffers.begin(); itBuff != buffers.end(); itBuff++) 
    373       //{ 
    374       //   delete itBuff->second; 
    375       //} 
    376       //buffers.clear(); 
     371      map<int,CClientBuffer*>::iterator itBuff; 
     372      for (itBuff = buffers.begin(); itBuff != buffers.end(); itBuff++) 
     373      { 
     374         delete itBuff->second; 
     375      } 
     376      buffers.clear(); 
    377377 
    378378// don't know when release windows 
Note: See TracChangeset for help on using the changeset viewer.