1
0
Dmitry-Me 8 жил өмнө
parent
commit
effab6ff06
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      tinyxml2.h

+ 2 - 2
tinyxml2.h

@@ -341,8 +341,8 @@ public:
     void Clear() {
         // Delete the blocks.
         while( !_blockPtrs.Empty()) {
-            Block* b  = _blockPtrs.Pop();
-            delete b;
+            Block* lastBlock = _blockPtrs.Pop();
+            delete lastBlock;
         }
         _root = 0;
         _currentAllocs = 0;