minor cleanup.
diff --git a/tinyxml2.cpp b/tinyxml2.cpp
index 65f2689..829ef17 100644
--- a/tinyxml2.cpp
+++ b/tinyxml2.cpp
@@ -572,10 +572,16 @@
ClearChildren();
delete [] charBuffer;
- TIXMLASSERT( textPool.NAlloc() == 0 );
- TIXMLASSERT( elementPool.NAlloc() == 0 );
- TIXMLASSERT( commentPool.NAlloc() == 0 );
- TIXMLASSERT( attributePool.NAlloc() == 0 );
+ /*
+ textPool.Trace( "text" );
+ elementPool.Trace( "element" );
+ commentPool.Trace( "comment" );
+ attributePool.Trace( "attribute" );
+ */
+ TIXMLASSERT( textPool.CurrentAllocs() == 0 );
+ TIXMLASSERT( elementPool.CurrentAllocs() == 0 );
+ TIXMLASSERT( commentPool.CurrentAllocs() == 0 );
+ TIXMLASSERT( attributePool.CurrentAllocs() == 0 );
}