summaryrefslogtreecommitdiffstats
path: root/src/glu
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-02 08:38:10 -0600
committerBrian <[email protected]>2007-08-02 08:38:10 -0600
commit2aa439a6a431b9a82841c7e05a51ec48870d59fa (patch)
tree1c0dea36efbba401d3f346a8ddda198aee8fe2e0 /src/glu
parentb477182dc3da7994011acf6ac1b93022a4b3a63e (diff)
fix double free()s (bug 11808)
Diffstat (limited to 'src/glu')
-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 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);
}