Changeset 13495
- Timestamp:
- May 23, 2007, 4:13:17 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/imcombine/pmStack.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmStack.c
r13492 r13495 8 8 * @author GLG, MHPCC 9 9 * 10 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $11 * @date $Date: 2007-05-24 0 1:27:35$10 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2007-05-24 02:13:17 $ 12 12 * 13 13 * Copyright 2004-2007 Institute for Astronomy, University of Hawaii … … 315 315 } 316 316 317 psFree(stats); 317 318 psFree(values); 318 319 psFree(valuesMask); … … 334 335 psArray *map = psArrayAlloc(numRows); // The pixel map 335 336 for (int y = 0; y < numRows; y++) { 336 psArray *colMap = psArrayAlloc(numCols); // The pixel map columns337 for (int x = 0; x < numCols; x++) {338 colMap->data[x] = NULL;339 }340 337 map->data[y] = psArrayAlloc(numCols); 341 338 } … … 385 382 data->detector = NULL; 386 383 387 data->sky = sky;384 data->sky = psMemIncrRefCounter(sky); 388 385 data->pixels = NULL; 389 386 data->seeing = seeing; … … 502 499 } 503 500 501 psFree(weights); 504 502 psFree(buffer); 505 503 … … 574 572 } 575 573 } 574 psFree(reject); 575 psFree(seeing); 576 psFree(pixels); 577 psFree(pixelMap); 576 578 577 579 if (psTraceGetLevel("psModules.imcombine") >= 5) {
Note:
See TracChangeset
for help on using the changeset viewer.
