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/plotrundb.C

    r8212 r8707  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: plotrundb.C,v 1.2 2006-11-03 10:52:36 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: plotrundb.C,v 1.3 2007-08-24 14:37:58 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    131131        gStyle->SetOptStat(111111);
    132132
    133         TSQLRow *row;
    134 
    135133        // Create TGraph objects
    136134        TGraph &gt = res.GetFieldCount()>4 ? *new TGraphErrors : *new TGraph;
     
    158156
    159157        // Loop over the data
     158        TSQLRow *row=0;
    160159        while ((row=res.Next()))
    161160        {
     
    166165            const char *snum = res.GetFieldCount()>3 ? (*row)[3] : 0;
    167166            const char *verr = res.GetFieldCount()>4 ? (*row)[5] : 0;
     167
     168            delete row;
     169
    168170            if (!date || !val || !zd)
    169171                continue;
Note: See TracChangeset for help on using the changeset viewer.