IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 21430


Ignore:
Timestamp:
Feb 10, 2009, 10:55:47 AM (17 years ago)
Author:
bills
Message:

plug memory leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmAstrometryWCS.c

    r21159 r21430  
    77 *  @author EAM, IfA
    88 *
    9  *  @version $Revision: 1.34 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2009-01-24 01:08:17 $
     9 *  @version $Revision: 1.35 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2009-02-10 20:55:47 $
    1111 *
    1212 *  Copyright 2006 Institute for Astronomy, University of Hawaii
     
    803803            psPlane *d = psPlaneTransformApply(NULL, trans, s);
    804804            psArraySet(dst, k, d);
     805            psFree(s);
     806            psFree(d);
    805807            ++k;
    806808        }
     
    827829    psFree(new);
    828830#endif
     831    psArrayElementsFree(src);
    829832    psFree(src);
     833    psArrayElementsFree(dst);
    830834    psFree(dst);
    831835
     
    881885
    882886    // XXX: is this region ok?
     887    psFree(fpa->fromTPA);
    883888    fpa->fromTPA = psPlaneTransformInvert(NULL, fpa->toTPA, *fpaBounds, 50);
    884889    if (!fpa->fromTPA) {
Note: See TracChangeset for help on using the changeset viewer.