IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12930


Ignore:
Timestamp:
Apr 19, 2007, 4:30:56 PM (19 years ago)
Author:
Paul Price
Message:

Plugging memory leaks

Location:
trunk/ppSim/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSim/src/ppSim.c

    r12833 r12930  
    1111int main(int argc, char *argv[])
    1212{
     13    psLibInit(NULL);
    1314    pmConfig *config = pmConfigRead(&argc, argv, NULL); // Configuration
    1415    if (!config) {
  • trunk/ppSim/src/ppSimLoop.c

    r12917 r12930  
    133133    }
    134134
     135    psFree(view);
    135136    return psRegionAlloc(xMin, xMax, yMin, yMax);
    136137}
     
    587588                    }
    588589                }
     590                psFree(biasPoly);
    589591
    590592                // Add stars
     
    627629                psFree(readout);        // Drop reference
    628630            }
     631            psFree(biasCols);
    629632
    630633
     
    661664    }
    662665
     666    psFree(ra);
     667    psFree(dec);
     668    psFree(mag);
    663669    psFree(rng);
    664670    psFree(view);
Note: See TracChangeset for help on using the changeset viewer.