Ignore:
Timestamp:
08/24/07 15:37:58 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/macros/plotoptical.C

    r8216 r8707  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: plotoptical.C,v 1.6 2006-11-17 11:45:29 dorner Exp $
     2! $Name: not supported by cvs2svn $:$Id: plotoptical.C,v 1.7 2007-08-24 14:37:58 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    150150        gStyle->SetOptStat(111111);
    151151
    152         TSQLRow *row;
    153 
    154152        // Create TGraph objects
    155153        TGraph &gt = res.GetFieldCount()>4 ? *new TGraphErrors : *new TGraph;
     
    177175
    178176        // Loop over the data
     177        TSQLRow *row=0;
    179178        while ((row=res.Next()))
    180179        {
     
    185184            const char *snum = res.GetFieldCount()>3 ? (*row)[3] : 0;
    186185            const char *verr = res.GetFieldCount()>4 ? (*row)[5] : 0;
     186
     187            delete row;
     188
    187189            if (!date || !val || !zd)
    188190                continue;
Note: See TracChangeset for help on using the changeset viewer.