Index: trunk/psLib/src/math/psMinimizePolyFit.c
===================================================================
--- trunk/psLib/src/math/psMinimizePolyFit.c	(revision 10999)
+++ trunk/psLib/src/math/psMinimizePolyFit.c	(revision 11674)
@@ -10,6 +10,6 @@
  *  @author EAM, IfA
  *
- *  @version $Revision: 1.29 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-01-09 22:38:53 $
+ *  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2007-02-07 01:15:49 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -1221,5 +1221,5 @@
         if (!psVectorFitPolynomial2D(poly, mask, maskValue, f, fErr, x, y)) {
             psError(PS_ERR_UNKNOWN, false, "Could not fit a polynomial to the data.  Returning false.\n");
-            psFree(resid)
+            psFree(resid);
             return false;
         }
@@ -1228,5 +1228,5 @@
         if (fit == NULL) {
             psError(PS_ERR_UNKNOWN, false, "Could not call psPolynomial3DEvalVector().  Returning NULL.\n");
-            psFree(resid)
+            psFree(resid);
             return false;
         }
@@ -1253,6 +1253,6 @@
         if (!psVectorStats(stats, resid, NULL, mask, maskValue)) {
             psError(PS_ERR_UNKNOWN, false, "Could not compute statistics on the resid vector.  Returning NULL.\n");
-            psFree(resid)
-            psFree(fit)
+            psFree(resid);
+            psFree(fit);
             return false;
         }
@@ -1670,5 +1670,5 @@
         if (!psVectorFitPolynomial3D(poly, mask, maskValue, f, fErr, x, y, z)) {
             psError(PS_ERR_UNKNOWN, false, "Could not fit a polynomial to the data.  Returning NULL.\n");
-            psFree(resid)
+            psFree(resid);
             return false;
         }
@@ -1676,5 +1676,5 @@
         if (fit == NULL) {
             psError(PS_ERR_UNKNOWN, false, "Could not call psPolynomial3DEvalVector().  Returning NULL.\n");
-            psFree(resid)
+            psFree(resid);
             return false;
         }
@@ -1700,6 +1700,6 @@
         if (!psVectorStats(stats, resid, NULL, mask, maskValue)) {
             psError(PS_ERR_UNKNOWN, false, "Could not compute statistics on the resid vector.  Returning NULL.\n");
-            psFree(resid)
-            psFree(fit)
+            psFree(resid);
+            psFree(fit);
             return false;
         }
@@ -2144,5 +2144,5 @@
         if (!psVectorFitPolynomial4D (poly, mask, maskValue, f, fErr, x, y, z, t)) {
             psError(PS_ERR_UNKNOWN, false, "Could not fit a polynomial to the data.  Returning NULL.\n");
-            psFree(resid)
+            psFree(resid);
             return false;
         }
@@ -2151,5 +2151,5 @@
         if (fit == NULL) {
             psError(PS_ERR_UNKNOWN, false, "Could not call psPolynomial4DEvalVector().  Returning NULL.\n");
-            psFree(resid)
+            psFree(resid);
             return false;
         }
@@ -2175,6 +2175,6 @@
         if (!psVectorStats (stats, resid, NULL, mask, maskValue)) {
             psError(PS_ERR_UNKNOWN, false, "Could not compute statistics on the resid vector.  Returning NULL.\n");
-            psFree(resid)
-            psFree(fit)
+            psFree(resid);
+            psFree(fit);
             return false;
         }
