IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 23, 2009, 5:29:24 PM (17 years ago)
Author:
eugene
Message:

plug possible leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715/psModules/src/objects/pmPSFtryMakePSF.c

    r25496 r25524  
    129129
    130130            for (int i = 0; i < psf->params->n; i++) {
    131                 if (psf->params->data[i] == NULL) continue;
     131                if (psf->params->data[i] == NULL) {
     132                    psFree(modelPSF);
     133                    continue;
     134                }
    132135                fprintf (f, "%f %f : ", source->modelEXT->params->data.F32[i], modelPSF->params->data.F32[i]);
    133136            }
Note: See TracChangeset for help on using the changeset viewer.