IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 11, 2006, 6:55:06 AM (20 years ago)
Author:
magnier
Message:

fixed leaks

File:
1 edited

Legend:

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

    r10612 r10616  
    77 *  @author EAM, IfA
    88 *
    9  *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2006-12-10 18:30:07 $
     9 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2006-12-11 16:55:06 $
    1111 *
    1212 *  Copyright 2006 Institute for Astronomy, University of Hawaii
     
    3636        return;
    3737    psFree (wcs->trans);
     38    psFree (wcs->toSky);
    3839}
    3940
     
    4546
    4647    wcs->trans = psPlaneTransformAlloc (nXorder, nYorder);
     48    wcs->toSky = NULL;
    4749
    4850    memset (wcs->ctype1, 0, PM_ASTROM_WCS_TYPE_SIZE);
     
    226228    }
    227229    psLogMsg ("psastro", 2, "warning: missing rotation matrix?\n");
     230    psFree (wcs);
    228231    return NULL;
    229232}
Note: See TracChangeset for help on using the changeset viewer.