Index: /trunk/Ohana/src/opihi/cmd.astro/getcoords.c
===================================================================
--- /trunk/Ohana/src/opihi/cmd.astro/getcoords.c	(revision 34344)
+++ /trunk/Ohana/src/opihi/cmd.astro/getcoords.c	(revision 34345)
@@ -57,5 +57,11 @@
       return (FALSE);
     }
-    if ((mosbuffer = SelectBuffer (MOSAIC, OLDBUFFER, TRUE)) == NULL) goto escape;
+    if ((mosbuffer = SelectBuffer (MOSAIC, OLDBUFFER, TRUE)) == NULL) {
+        // Using goto_escape triggers a compiler bug with our build flags when using gcc 4.3.2
+        // It thinks MOSAIC may be uninitialzed even when it can't be. Just free 
+        // goto escape;
+        free (MOSAIC);
+        return (FALSE);
+    }
     GetCoords (&moscoords, &mosbuffer[0].header);
     RegisterMosaic (&moscoords);
@@ -100,6 +106,8 @@
   gprint (GP_ERR, "USAGE: getcoords [buffer] (crval1) (crval2) [-transform C/E/G C/E/G]\n");
   gprint (GP_ERR, "generate images of the two coordinate dimensions for the image WCS\n");
- escape:
-  if (MOSAIC != NULL) free (MOSAIC);
+  // escape:
+  // Jumping here and trying to free this here causes the compiler to fail on optimized build to fail See comments
+  // above.
+  // if (MOSAIC != NULL) free (MOSAIC);
   return (FALSE);
 }
