- Timestamp:
- Sep 7, 2012, 10:06:48 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120905/psphot/src/psphotSourceSize.c
r34404 r34415 675 675 return false; 676 676 } 677 psFree(readout->mask); 678 readout->mask = newMask; 677 // Copy the new mask pixel values to the old mask array. NOTE: we cannot replace 678 // the mask pointer because the source->maskView objects point to the old data 679 // area 680 psImage *oldMask = readout->mask; 681 readout->mask = psImageCopy (readout->mask, newMask, PS_TYPE_IMAGE_MASK); 682 psAssert (oldMask == readout->mask, "should have copied the values in-situ"); 683 psFree(newMask); 679 684 } 680 685
Note:
See TracChangeset
for help on using the changeset viewer.
