IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 18, 2010, 1:09:32 PM (16 years ago)
Author:
Paul Price
Message:

Plug memory leak.

File:
1 edited

Legend:

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

    r27328 r27332  
    153153    if (!psImageUnbin(unbinned, binned, binning)) {
    154154        psError(PPSTACK_ERR_DATA, false, "Unable to unbin background model");
     155        psFree(binned);
    155156        psFree(unbinned);
    156157        return NULL;
    157158    }
    158 
    159     // XXX should these really be here?? (probably not...)
    160     // pmFPAfileDropInternal(config->files, "PSPHOT.BACKMDL");
    161     // pmFPAfileDropInternal(config->files, "PSPHOT.BACKMDL.STDEV");
    162 
    163      return unbinned;
     159    psFree(binned);
     160
     161    return unbinned;
    164162}
    165163
Note: See TracChangeset for help on using the changeset viewer.