IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 28, 2005, 7:04:10 AM (21 years ago)
Author:
eugene
Message:

cleanup memory leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/apply_psf_model.c

    r4630 r4642  
    3939        if (source->type == PS_SOURCE_SATURATED) continue;
    4040
    41         source->modelPSF = NULL;
     41        // do I even need to test?
     42        if (source->modelPSF != NULL) {
     43          psFree (source->modelPSF);
     44        }
    4245
    4346        // use the source moments, etc to guess basic model parameters
Note: See TracChangeset for help on using the changeset viewer.