Changeset 2067 for trunk/psLib/src/astronomy/psAstrometry.c
- Timestamp:
- Oct 12, 2004, 2:10:50 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astronomy/psAstrometry.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astronomy/psAstrometry.c
r2061 r2067 8 8 * @author George Gusciora, MHPCC 9 9 * 10 * @version $Revision: 1.3 6$ $Name: not supported by cvs2svn $11 * @date $Date: 2004-10-1 2 21:10:41$10 * @version $Revision: 1.37 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2004-10-13 00:10:50 $ 12 12 * 13 13 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 151 151 if (chip != NULL) { 152 152 psFree(chip->cells); 153 psFree(chip->parent);154 153 psFree(chip->metadata); 155 154 psFree(chip->toFPA); … … 167 166 psFree(cell->toFPA); 168 167 psFree(cell->toTP); 169 psFree(cell->parent);170 168 } 171 169 } … … 174 172 { 175 173 if (readout != NULL) { 176 psFree(readout->image);177 174 psFree(readout->mask); 178 175 psFree(readout->objects); … … 407 404 chip->fromFPA = NULL; 408 405 409 chip->parent = p sMemIncrRefCounter(parentFPA);406 chip->parent = parentFPA; 410 407 411 408 p_psMemSetDeallocator(chip,(psFreeFcn)chipFree); … … 437 434 cell->toTP = NULL; 438 435 439 cell->parent = p sMemIncrRefCounter(parentChip);436 cell->parent = parentChip; 440 437 441 438 p_psMemSetDeallocator(cell,(psFreeFcn)cellFree); … … 457 454 *(int*)&readout->row0 = row0; 458 455 459 readout->image = psMemIncrRefCounter((psImage*)image);456 readout->image = (psImage*)image; 460 457 readout->mask = NULL; 461 458 readout->objects = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
