IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13431


Ignore:
Timestamp:
May 18, 2007, 7:15:35 AM (19 years ago)
Author:
rhl
Message:

Fix memory leak

File:
1 edited

Legend:

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

    r13422 r13431  
    55 *  @author EAM, IfA
    66 *
    7  *  @version $Revision: 1.39 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2007-05-18 14:02:09 $
     7 *  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2007-05-18 17:15:35 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    438438        if (!psVectorClipFitPolynomial2D(psf->params_NEW->data[i], stats, psfTry->mask, 0xff, z, NULL, x, y)) {
    439439            psError(PS_ERR_UNKNOWN, false, "failed to build psf model for parameter %d", i);
     440            psFree(stats);
     441            psFree(x);
     442            psFree(y);
     443            psFree(z);
     444            psFree(dz);
    440445            return false;
    441446        }
Note: See TracChangeset for help on using the changeset viewer.