Changeset 24769
- Timestamp:
- Jul 12, 2009, 12:52:36 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmHDUGenerate.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmHDUGenerate.c
r23318 r24769 390 390 if (numReadouts == 0 || (imageType == 0 && maskType == 0 && varianceType == 0)) { 391 391 // Nothing from which to create an HDU 392 psFree(cells);393 ps Error(PS_ERR_IO, true, "Nothing from which to create an HDU\n");394 return false;392 // psError(PS_ERR_IO, true, "Nothing from which to create an HDU\n"); 393 psWarning("Nothing from which to create an HDU, must be empty\n"); 394 return true; 395 395 } 396 396 … … 504 504 psFree(iter); 505 505 } 506 psFree(cells);507 508 506 return true; 509 507 } … … 615 613 return true; 616 614 } 617 618 return generateHDU(hdu, cells); 615 bool status = generateHDU(hdu, cells); 616 psFree (cells); 617 return status; 619 618 } 620 619 case PM_FPA_LEVEL_CHIP: … … 664 663 } 665 664 666 return generateHDU(hdu, cells); 665 bool status = generateHDU(hdu, cells); 666 psFree (cells); 667 return status; 667 668 } 668 669 case PM_FPA_LEVEL_FPA:
Note:
See TracChangeset
for help on using the changeset viewer.
