Changeset 8805


Ignore:
Timestamp:
01/11/08 10:37:02 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8803 r8805  
    1919                                                 -*-*- END OF LINE -*-*-
    2020
     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
    2129 2008/01/09 Thomas Bretz
    2230
  • trunk/MagicSoft/Mars/mbase/MLog.cc

    r8767 r8805  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MLog.cc,v 1.58 2007-11-27 14:32:00 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MLog.cc,v 1.59 2008-01-11 10:37:01 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    328328    memcpy(newstr, fGuiLines, fNumLines*sizeof(TString*));
    329329    if (fNumLines>0)
    330         delete fGuiLines;
     330        delete [] fGuiLines;
    331331    fGuiLines = newstr;
    332332
     
    413413        delete fGuiLines[i];
    414414    }
    415     delete fGuiLines;
     415    delete [] fGuiLines;
    416416
    417417    fNumLines=0;
Note: See TracChangeset for help on using the changeset viewer.