remove debug mem write when in release mode
This commit is contained in:
@@ -282,7 +282,9 @@ public:
|
|||||||
if ( !mem ) return;
|
if ( !mem ) return;
|
||||||
--currentAllocs;
|
--currentAllocs;
|
||||||
Chunk* chunk = (Chunk*)mem;
|
Chunk* chunk = (Chunk*)mem;
|
||||||
|
#ifdef DEBUG
|
||||||
memset( chunk, 0xfe, sizeof(Chunk) );
|
memset( chunk, 0xfe, sizeof(Chunk) );
|
||||||
|
#endif
|
||||||
chunk->next = root;
|
chunk->next = root;
|
||||||
root = chunk;
|
root = chunk;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user