IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32808


Ignore:
Timestamp:
Nov 25, 2011, 7:35:48 AM (14 years ago)
Author:
eugene
Message:

plug possible source of a leak; add the DIFF_SELF_MATCH flag

Location:
trunk/psModules/src
Files:
2 edited

Legend:

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

    r28386 r32808  
    487487
    488488    if (fpa->toSky == NULL) {
     489        psFree(fpa->toTPA);
     490        psFree(fpa->fromTPA);
    489491        fpa->toTPA = psPlaneTransformIdentity (1);
    490492        fpa->fromTPA = psPlaneTransformIdentity (1);
  • trunk/psModules/src/objects/pmSourceMasks.h

    r31670 r32808  
    4646    PM_SOURCE_MODE2_DIFF_WITH_DOUBLE = 0x00000002, ///< diff source matched to positive detections in both images
    4747    PM_SOURCE_MODE2_MATCHED          = 0x00000004, ///< diff source matched to positive detections in both images
     48    PM_SOURCE_MODE2_DIFF_SELF_MATCH  = 0x00000800, ///< positive detection match is probably this source
    4849
    4950    PM_SOURCE_MODE2_ON_SPIKE         = 0x00000008, ///< > 25% of (PSF-weighted) pixels land on diffraction spike
Note: See TracChangeset for help on using the changeset viewer.