Browse Source

Fix valgrind warning about mismatched new/delete

Mostly a hygienic fix.
Artur K. 11 years ago
parent
commit
b7f38d80d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Engine/Core/Profiler.h

+ 1 - 1
Source/Engine/Core/Profiler.h

@@ -67,7 +67,7 @@ public:
             *i = 0;
             *i = 0;
         }
         }
         
         
-        delete name_;
+        delete [] name_;
     }
     }
     
     
     /// Begin timing.
     /// Begin timing.