IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7173


Ignore:
Timestamp:
May 22, 2006, 3:09:48 PM (20 years ago)
Author:
Paul Price
Message:

Fixing double free, caused by multiple calls to "pmCellFreeData".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPA.c

    r7060 r7173  
    1212* XXX: Should we implement non-linear cell->chip transforms?
    1313*
    14 *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    15 *  @date $Date: 2006-05-04 03:57:32 $
     14*  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     15*  @date $Date: 2006-05-23 01:09:48 $
    1616*
    1717*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    178178    if (cell->hdu) {
    179179        psFree(cell->hdu->images);
     180        cell->hdu->images = NULL;
    180181    }
    181182}
     
    188189    if (chip->hdu) {
    189190        psFree(chip->hdu->images);
     191        chip->hdu->images = NULL;
    190192    }
    191193}
     
    198200    if (fpa->hdu) {
    199201        psFree(fpa->hdu->images);
     202        fpa->hdu->images = NULL;
    200203    }
    201204}
Note: See TracChangeset for help on using the changeset viewer.