summaryrefslogtreecommitdiff
path: root/src/glu/sgi
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-02 08:38:01 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-08-02 08:38:01 -0600
commit89cad79b4186166f4420317472801b73410402f4 (patch)
treedc8ae194b2e389fd5aabf57c470c8292d2818db2 /src/glu/sgi
parent6e6a02261a7c0fcfdf9fbf17199aff4278c8e5b7 (diff)
fix double free()s (bug 11808)
Diffstat (limited to 'src/glu/sgi')
-rw-r--r--src/glu/sgi/libnurbs/interface/insurfeval.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glu/sgi/libnurbs/interface/insurfeval.cc b/src/glu/sgi/libnurbs/interface/insurfeval.cc
index b314699c7a..e4ee3ef6a2 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);
}