IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 17, 2007, 3:18:12 PM (19 years ago)
Author:
Paul Price
Message:

Avoiding SEGV when sources aren't provided.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubReadout.c

    r14847 r14873  
    8484    }
    8585
    86     psArray *sources = psMetadataLookupPtr(&mdok, sourcesRO->analysis, "PSPHOT.SOURCES"); // Sources in image
     86    psArray *sources = NULL;            // Sources in image
     87    if (sourcesRO) {
     88        sources = psMetadataLookupPtr(&mdok, sourcesRO->analysis, "PSPHOT.SOURCES");
     89    }
    8790
    8891    if (!pmSubtractionMatch(outRO, refRO, inRO, footprint, regionSize, spacing, threshold, sources,
Note: See TracChangeset for help on using the changeset viewer.