fix double free()s (bug 11808)
authorBrian <brian.paul@tungstengraphics.com>
Thu, 2 Aug 2007 14:38:01 +0000 (08:38 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 2 Aug 2007 14:38:01 +0000 (08:38 -0600)
src/glu/sgi/libnurbs/interface/insurfeval.cc

index b314699c7af2c53f010943ed65d0ebddbd88411c..e4ee3ef6a29c318c49ab3b7707060a61042a9a56 100644 (file)
@@ -1533,8 +1533,8 @@ void OpenGLSurfaceEvaluator::inEvalVStrip(int n_left, REAL u_left, REAL* left_va
     }
   //clean up 
   free(leftXYZ);
-  free(leftXYZ);
-  free(rightNormal);
+  free(rightXYZ);
+  free(leftNormal);
   free(rightNormal);
 }