IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19874


Ignore:
Timestamp:
Oct 2, 2008, 3:55:42 PM (18 years ago)
Author:
Paul Price
Message:

Plugging memory leak.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpLoop.c

    r19873 r19874  
    305305        skyView->chip = skyView->cell = 0;
    306306        pmCell *cell = pmFPAfileThisCell(config->files, skyView, "PSWARP.SKYCELL"); // Skycell cell
     307        psFree(skyView);
    307308        pmHDU *skyHDU = pmHDUFromCell(cell); // HDU
    308309        if (!skyHDU) {
    309310            psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to find skycell HDU.");
    310             psFree(skyView);
    311311            psFree(view);
    312312            return false;
Note: See TracChangeset for help on using the changeset viewer.