IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30162


Ignore:
Timestamp:
Dec 24, 2010, 3:14:52 PM (15 years ago)
Author:
eugene
Message:

plug leaks; candidate PSF stars are now noted with tmpFlags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20101205/psphot/src/psphotImageQuality.c

    r29936 r30162  
    7979        // select by PSFSTAR mode?
    8080        // ??
    81         if (source->type != PM_SOURCE_TYPE_STAR || !(source->mode & PM_SOURCE_MODE_PSFSTAR)) {
     81        if (source->type != PM_SOURCE_TYPE_STAR || !(source->tmpFlags & PM_SOURCE_TMPF_CANDIDATE_PSFSTAR)) {
    8282            psTrace("psphot", 10, "Ignoring source for image quality because not a good star");
    8383            continue;
     
    133133    if (num == 0) {
    134134        psLogMsg ("psphot", PS_LOG_INFO, "no valid sources for image quality, skipping");
     135        psFree(FWHM_MAJOR);
     136        psFree(FWHM_MINOR);
     137        psFree(M2);
     138        psFree(M2c);
     139        psFree(M2s);
     140        psFree(M3);
     141        psFree(M4);
     142
    135143        return true;
    136144    }
Note: See TracChangeset for help on using the changeset viewer.