IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 2, 2010, 7:06:18 PM (17 years ago)
Author:
watersc1
Message:

new burntool code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/extsrc/gpcsw/gpcsrc/fits/burntool/stardetect.c

    r25070 r26764  
    193193   cell->burn = (OBJBOX *)calloc(cell->nburn, sizeof(OBJBOX));
    194194   cell->star = (OBJBOX *)calloc(cell->nstar, sizeof(OBJBOX));
     195   if( cell->burn == NULL || cell->star == NULL) {
     196      fprintf(stderr, "\rerror: failed to alloc burn box\n");
     197      exit(-678);
     198   }
    195199
    196200/* Copy the boxes to the cell info structure */
Note: See TracChangeset for help on using the changeset viewer.