Changeset 27657 for trunk/ppSim/src/ppSimInsertStars.c
- Timestamp:
- Apr 11, 2010, 5:08:29 PM (16 years ago)
- Location:
- trunk/ppSim
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/ppSimInsertStars.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSim
-
Property svn:mergeinfo
set to
/branches/eam_branches/stackphot.20100406/ppSim merged eligible
-
Property svn:mergeinfo
set to
-
trunk/ppSim/src/ppSimInsertStars.c
r27533 r27657 145 145 fclose (outfile); 146 146 147 // NOTE: the pmFPAfile "PPSIM.OUTPUT" points at these sources 148 psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSPHOT.SOURCES", PS_DATA_ARRAY, "fake sources", sources); 149 psFree(sources); 147 pmDetections *detections = pmDetectionsAlloc(); 148 detections->allSources = sources; 149 150 // save detections on the readout->analysis 151 if (!psMetadataAddPtr (readout->analysis, PS_LIST_TAIL, "PSPHOT.DETECTIONS", PS_META_REPLACE | PS_DATA_UNKNOWN, "fake sources", detections)) { 152 psError (PSPHOT_ERR_CONFIG, false, "problem saving detections on readout"); 153 return false; 154 } 155 psFree(detections); 150 156 151 157 // XXX many leaks in here, i think
Note:
See TracChangeset
for help on using the changeset viewer.
