Ignore:
Timestamp:
Apr 20, 2009, 11:29:17 PM (15 years ago)
Author:
rosiere
Message:

1) Write queue with mealy
2) Network : fix bug
3) leak memory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Special_Register_unit/src/Special_Register_unit_deallocation.cpp

    r112 r115  
    7171          {
    7272            for (uint32_t k=0; k<NB_GROUP; k++)
    73               {
    74                 if (_spr [i][j][k] != NULL)
    75                   {
    76                     for (uint32_t l=0; l<NB_REG_GROUP[k]; l++)
    77                       if (_spr [i][j][k][l] != NULL)
    78                         delete _spr [i][j][k][l];
    79                     delete [] _spr [i][j][k];
    80                   }
    81               }
     73              if (_spr [i][j][k] != NULL)
     74                {
     75                  for (uint32_t l=0; l<NB_REG_GROUP[k]; l++)
     76                    if (_spr [i][j][k][l] != NULL)
     77                      delete _spr [i][j][k][l];
     78                  delete [] _spr [i][j][k];
     79                }
    8280            delete [] _spr [i][j];
    8381          }     
Note: See TracChangeset for help on using the changeset viewer.