Changeset 5808 in orxonox.OLD for branches/network/src/subprojects
- Timestamp:
- Nov 28, 2005, 9:07:21 PM (19 years ago)
- Location:
- branches/network/src/subprojects/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/subprojects/network/network_unit_test.cc
r5806 r5808 159 159 delete nm; 160 160 161 delete clientSync; 162 delete serverSync; 163 161 164 return 0; 162 165 } -
branches/network/src/subprojects/network/simple_sync.cc
r5806 r5808 31 31 : Synchronizeable(name) 32 32 { 33 /* define the local buffer size */ 33 34 this->outLength = 10; 34 35 this->recLength = 0; … … 37 38 this->inData = new byte[this->inLength]; 38 39 40 /* init the buffer data */ 39 41 for( int i = 0; i < this->outLength; i++) 40 42 { … … 54 56 SimpleSync::~SimpleSync() 55 57 { 58 if( this->outData) 59 delete[] this->outData; 60 if( this->inData) 61 delete[] this->inData; 56 62 } 57 63
Note: See TracChangeset
for help on using the changeset viewer.