[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
[XaraXtreme-commits] Commit Complete
Commit by : alex
Repository : xara
Revision : 1599
Date : Sat Jul 29 16:55:34 BST 2006
Changed paths:
M /Trunk/XaraLX/Kernel/ccfile.cpp
Fixe delete / delete [] mismatch
Diff:
Index: Trunk/XaraLX/Kernel/ccfile.cpp
===================================================================
--- Trunk/XaraLX/Kernel/ccfile.cpp (revision 1598)
+++ Trunk/XaraLX/Kernel/ccfile.cpp (revision 1599)
@@ -943,7 +943,7 @@
{
// Deallocate our buffers
if (LineBuf != NULL) delete LineBuf;
- if (TokenBuf != NULL) delete TokenBuf;
+ if (TokenBuf != NULL) delete [] TokenBuf;
LineBuf = NULL;
TokenBuf = NULL;
Xara