IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6352


Ignore:
Timestamp:
Feb 7, 2006, 2:53:55 PM (20 years ago)
Author:
Paul Price
Message:

Squashing memory leaks... some more yet to do.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_rel9_p0/psModules/src/imsubtract/pmSubtractBias.c

    r6351 r6352  
    1111 *  @author GLG, MHPCC
    1212 *
    13  *  @version $Revision: 1.6.8.1.2.5 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2006-02-08 00:52:13 $
     13 *  @version $Revision: 1.6.8.1.2.6 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2006-02-08 00:53:55 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    379379                                   overscanOpts->poly->type != PS_POLYNOMIAL_ORD)) {
    380380            psFree(overscanOpts->poly);
     381            overscanOpts->poly = NULL;
     382        }
     383        if (! overscanOpts->poly) {
    381384            overscanOpts->poly = psPolynomial1DAlloc(overscanOpts->order, PS_POLYNOMIAL_ORD);
    382385        }
     
    389392                                   overscanOpts->poly->type != PS_POLYNOMIAL_CHEB)) {
    390393            psFree(overscanOpts->poly);
     394            overscanOpts->poly = NULL;
     395        }
     396        if (! overscanOpts->poly) {
    391397            overscanOpts->poly = psPolynomial1DAlloc(overscanOpts->order, PS_POLYNOMIAL_CHEB);
    392398        }
Note: See TracChangeset for help on using the changeset viewer.