IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 7, 2008, 6:23:31 PM (18 years ago)
Author:
eugene
Message:

plug memory leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSource.c

    r19985 r19987  
    66 *  @author EAM, IfA: significant modifications.
    77 *
    8  *  @version $Revision: 1.60 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2008-10-08 04:21:47 $
     8 *  @version $Revision: 1.61 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2008-10-08 04:23:31 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    620620        }
    621621        psLogMsg ("pmObjects", 3, "SN range (moments): %f - %f\n", stats->min, stats->max);
    622         psFree (starsn_moments);
    623622        psFree (stats);
    624623    }
     624    psFree (starsn_moments);
    625625
    626626    if (starsn_peaks->n) {
     
    632632        }
    633633        psLogMsg ("pmObjects", 3, "SN range (peaks)  : %f - %f\n", stats->min, stats->max);
    634         psFree (starsn_peaks);
    635634        psFree (stats);
    636635    }
     636    psFree (starsn_peaks);
    637637
    638638    psTrace ("psModules.objects", 2, "Nstar:    %3d\n", Nstar);
Note: See TracChangeset for help on using the changeset viewer.