- Timestamp:
- Apr 14, 2009, 8:39:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Component.cpp
r81 r113 15 15 { 16 16 log_printf(FUNC,Behavioural,"Component::Component","Begin"); 17 _entity = NULL; 17 18 _list_component = new std::list<Tcomponent_t *>; 18 19 log_printf(FUNC,Behavioural,"Component::Component","End"); … … 31 32 { 32 33 log_printf(FUNC,Behavioural,"Component::~Component","Begin"); 33 delete _entity; 34 if (_entity != NULL) 35 delete _entity; 36 while (not _list_component->empty()) 37 { 38 delete _list_component->front(); 39 _list_component->pop_front(); 40 } 34 41 delete _list_component; 35 42 log_printf(FUNC,Behavioural,"Component::~Component","End");
Note: See TracChangeset
for help on using the changeset viewer.