IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 22, 2011, 2:27:04 PM (15 years ago)
Author:
eugene
Message:

plug leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtractionVisual.c

    r30622 r30737  
    292292        type = im->type.type;
    293293    }
    294     if (imageMax == -1) return false;
     294    if (imageMax == -1) {
     295        psFree (matrixNorm);
     296        return false;
     297    }
    295298
    296299    int border = 15;
     
    350353    psFree(canvas);
    351354    psFree(canvas32);
     355    psFree (matrixNorm);
    352356    return true;
    353357}
     
    503507            psFitsClose(fits);
    504508        }
     509        psFree (output);
    505510    }
    506511       
     
    710715            pmSubtractionVisualShowFitAddStamp (image2, image1, residual, background, norm, i);
    711716        }
     717        psFree(polyValues);
    712718    }
    713719    pmSubtractionVisualShowFitImage(norm);
    714720
     721    psFree (residual);
    715722    return true;
    716723}
     
    10291036    KapaPlotVector (kapa3, lflx->n, lMxx->data.F32, "y");
    10301037
     1038    psFree (lflx);
     1039    psFree (lchi);
     1040    psFree (lMxx);
     1041
    10311042    pmVisualAskUser(NULL);
    10321043    return true;
Note: See TracChangeset for help on using the changeset viewer.