Index: trunk/ppSim/src/ppSimLoadStars.c
===================================================================
--- trunk/ppSim/src/ppSimLoadStars.c	(revision 25760)
+++ trunk/ppSim/src/ppSimLoadStars.c	(revision 26975)
@@ -30,8 +30,9 @@
     psRegion *bounds = ppSimFPABounds (fpa);
     float radius = 0.5 * PS_MAX(bounds->x1 - bounds->x0, bounds->y1 - bounds->y0) * scale;
-    psFree(bounds);
 
     float x0fpa = 0.5*(bounds->x0 + bounds->x1);
     float y0fpa = 0.5*(bounds->y0 + bounds->y1);
+
+    psFree(bounds);
 
     psMetadataAdd(astroRecipe, PS_LIST_TAIL, "RA_MIN",  PS_DATA_F32 | PS_META_REPLACE, "",
