IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 12, 2009, 2:24:10 PM (16 years ago)
Author:
Paul Price
Message:

Check for errors when writing convolved images.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackFiles.c

    r26076 r26104  
    181181        return false;
    182182    }
    183     psFitsClose(fits);
     183    if (!psFitsClose(fits)) {
     184        psError(PS_ERR_IO, false, "Unable to close FITS image %s.", resolved);
     185        psFree(resolved);
     186        return false;
     187    }
    184188    psFree(resolved);
    185189    return true;
Note: See TracChangeset for help on using the changeset viewer.