Index: trunk/psLib/src/math/psSpline.c
===================================================================
--- trunk/psLib/src/math/psSpline.c	(revision 1831)
+++ trunk/psLib/src/math/psSpline.c	(revision 1846)
@@ -7,6 +7,6 @@
  *  polynomials.  It also contains a Gaussian functions.
  *
- *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-09-18 01:50:45 $
+ *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-09-22 01:30:21 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -1608,4 +1608,5 @@
 //    int n;
 //    psPolynomial1D **spline;
+//    float *p_psDeriv2;
 //    float *domains;
 //} psSpline1D;
@@ -1639,4 +1640,7 @@
         (tmp->spline)[i] = psPolynomial1DAlloc(order+1, PS_POLYNOMIAL_ORD);
     }
+
+    // This should be set by the psVectorFitSpline1D()
+    tmp->p_psDeriv2 = NULL;
 
     tmp->domains = (float *) psAlloc((numSplines+1) * sizeof(float));
