IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 17, 2010, 12:13:33 PM (16 years ago)
Author:
bills
Message:

bounds was being freed prematurely. Don't know why this suddenly
became a problem

File:
1 edited

Legend:

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

    r25760 r26975  
    3030    psRegion *bounds = ppSimFPABounds (fpa);
    3131    float radius = 0.5 * PS_MAX(bounds->x1 - bounds->x0, bounds->y1 - bounds->y0) * scale;
    32     psFree(bounds);
    3332
    3433    float x0fpa = 0.5*(bounds->x0 + bounds->x1);
    3534    float y0fpa = 0.5*(bounds->y0 + bounds->y1);
     35
     36    psFree(bounds);
    3637
    3738    psMetadataAdd(astroRecipe, PS_LIST_TAIL, "RA_MIN",  PS_DATA_F32 | PS_META_REPLACE, "",
Note: See TracChangeset for help on using the changeset viewer.