IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 19, 2026, 5:03:35 PM (2 months ago)
Author:
eugene
Message:

free analysis and bias elements of pmReadout in FreeData, but reallocated if structure is reused

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-pstamp-20260421/psModules/src/camera/pmFPA.c

    r42784 r43024  
    166166    psFree(readout->variance);
    167167    psFree(readout->covariance);
    168     psFree(readout->analysis);
     168//  psFree(readout->analysis);
     169//  EAM XXX : if we free this here, ppSub fails to find the subtraction kernel.
     170//  surprisingly, this does not cause leaks in ppSub, ppStack or ppImage
    169171    psFree(readout->bias);
    170172
     
    174176    readout->variance = NULL;
    175177    readout->covariance = NULL;
    176     readout->analysis = NULL;
     178//  readout->analysis = NULL; EAM see above
    177179    readout->mask = NULL;
    178180    readout->bias = NULL;
     181//  readout->bias = psListAlloc(NULL); -- works with this in place
     182//  if we allocate the bias list here, we introduce a leak
    179183
    180184    readout->col0 = 0;
Note: See TracChangeset for help on using the changeset viewer.