IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 21, 2006, 12:29:48 AM (20 years ago)
Author:
Paul Price
Message:

Working, but leaks memory something chronic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageParseCamera.c

    r6114 r6125  
    5656    data->fringe->fpa  = pmFPAConstruct(config->camera);
    5757
     58    // Open output file
     59    const char *outname = psMetadataLookupStr(NULL, config->arguments, "-output"); // Name of output file
     60    data->output = psFitsOpen(outname, "w"); // File for writing
     61    if (! data->output) {
     62        psError(PS_ERR_IO, false, "Unable to open output file %s.\n", data->output);
     63        exit(EXIT_FAILURE);
     64    }
     65
    5866    // XXX EAM : extend this to allow an array of selected chips by name
    5967    // Chip selection: if we are using a single chip, select it for each FPA
Note: See TracChangeset for help on using the changeset viewer.