IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 28, 2008, 11:32:28 AM (18 years ago)
Author:
Paul Price
Message:

Plugging some memory leaks. Many more remain. Probably not freeing all the pmFPAfiles due to activation issues?

File:
1 edited

Legend:

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

    r16707 r16717  
    154154        return false;
    155155    }
     156    psFree(view);
    156157    return true;
    157158}
     
    518519            psFitsClose(maskFits->data[i]);
    519520            psFitsClose(weightFits->data[i]);
     521            imageFits->data[i] = NULL;
     522            maskFits->data[i] = NULL;
     523            weightFits->data[i] = NULL;
    520524            if (tempDelete && (unlink(imageNames->data[i]) || unlink(maskNames->data[i]) ||
    521525                               unlink(weightNames->data[i]))) {
     
    526530        psFree(maskNames);
    527531        psFree(weightNames);
     532        psFree(imageFits);
     533        psFree(maskFits);
     534        psFree(weightFits);
    528535
    529536        if (psMetadataLookupBool(&mdok, config->arguments, "PHOTOMETRY") &&
Note: See TracChangeset for help on using the changeset viewer.