IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6403


Ignore:
Timestamp:
Feb 9, 2006, 10:59:04 AM (20 years ago)
Author:
Paul Price
Message:

Removing memory leak on phu caused by multiple calls to pmFPARead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_rel9_p0/psModules/src/astrom/pmFPARead.c

    r6387 r6403  
    156156        psTrace(__func__, 7, "Reading PHU....\n");
    157157        fpa->phu = psFitsReadHeader(NULL, fits); // Primary header
    158     } else {
     158    } else if (! fpa->phu) {
    159159        fpa->phu = psMemIncrRefCounter(phu);
    160160    }
Note: See TracChangeset for help on using the changeset viewer.