- Timestamp:
- Nov 6, 2011, 2:43:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110906/psphot/src/psphotSourceMatch.c
r32348 r32619 234 234 235 235 // assign to a footprint on this readout->image 236 peak->footprint = pmFootprintCopyData(footprint, readout->image); 237 238 // the peak does not claim ownership of the footprint (it does not free it). save a copy of this 239 // footprint on detections->footprints so we can free it later 240 psArrayAdd(detections->footprints, 100, peak->footprint); 241 psFree (peak->footprint); 236 if (footprint) { 237 peak->footprint = pmFootprintCopyData(footprint, readout->image); 238 239 // the peak does not claim ownership of the footprint (it does not free it). save a copy of this 240 // footprint on detections->footprints so we can free it later 241 psArrayAdd(detections->footprints, 100, peak->footprint); 242 psFree (peak->footprint); 243 } 242 244 243 245 // create a new source
Note:
See TracChangeset
for help on using the changeset viewer.
