IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 13, 2008, 5:25:47 PM (18 years ago)
Author:
Paul Price
Message:

Plugging memory leaks. Now there's none left!

File:
1 edited

Legend:

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

    r16605 r16991  
    99#include "ppStack.h"
    1010
    11 pmPSF *ppStackPSF(const pmConfig *config, int numCols, int numRows, const psList *list)
     11pmPSF *ppStackPSF(const pmConfig *config, int numCols, int numRows, const psArray *psfs)
    1212{
    1313    // Get the recipe values
     
    1818
    1919    // Solve for the target PSF
    20     psArray *array = psListToArray(list); // Array of PSFs
    21     pmPSF *psf = pmPSFEnvelope(numCols, numRows, array, psfInstances, psfRadius, psfModel,
     20    pmPSF *psf = pmPSFEnvelope(numCols, numRows, psfs, psfInstances, psfRadius, psfModel,
    2221                               psfOrder, psfOrder);
    23     psFree(array);
    2422    if (!psf) {
    2523        psError(PS_ERR_UNKNOWN, false, "Unable to determine output PSF.");
Note: See TracChangeset for help on using the changeset viewer.