From: Brian Date: Thu, 2 Aug 2007 14:38:01 +0000 (-0600) Subject: fix double free()s (bug 11808) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=89cad79b4186166f4420317472801b73410402f4;p=mesa.git fix double free()s (bug 11808) --- diff --git a/src/glu/sgi/libnurbs/interface/insurfeval.cc b/src/glu/sgi/libnurbs/interface/insurfeval.cc index b314699c7af..e4ee3ef6a29 100644 --- a/src/glu/sgi/libnurbs/interface/insurfeval.cc +++ b/src/glu/sgi/libnurbs/interface/insurfeval.cc @@ -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); }