Changeset 8805
- Timestamp:
- 01/11/08 10:37:02 (17 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8803 r8805 19 19 -*-*- END OF LINE -*-*- 20 20 21 2008/01/11 Thomas Bretz 22 23 * mbase/MLog.cc: 24 - correctly use delete[] instead of delete for fGuiLInes as 25 suggested by valgrind. 26 27 28 21 29 2008/01/09 Thomas Bretz 22 30 -
trunk/MagicSoft/Mars/mbase/MLog.cc
r8767 r8805 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MLog.cc,v 1.5 8 2007-11-27 14:32:00tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MLog.cc,v 1.59 2008-01-11 10:37:01 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 328 328 memcpy(newstr, fGuiLines, fNumLines*sizeof(TString*)); 329 329 if (fNumLines>0) 330 delete fGuiLines;330 delete [] fGuiLines; 331 331 fGuiLines = newstr; 332 332 … … 413 413 delete fGuiLines[i]; 414 414 } 415 delete fGuiLines;415 delete [] fGuiLines; 416 416 417 417 fNumLines=0;
Note:
See TracChangeset
for help on using the changeset viewer.