diff options
author | Brian <[email protected]> | 2007-08-02 08:38:10 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-02 08:38:10 -0600 |
commit | 2aa439a6a431b9a82841c7e05a51ec48870d59fa (patch) | |
tree | 1c0dea36efbba401d3f346a8ddda198aee8fe2e0 | |
parent | b477182dc3da7994011acf6ac1b93022a4b3a63e (diff) |
fix double free()s (bug 11808)
-rw-r--r-- | src/glu/sgi/libnurbs/interface/insurfeval.cc | 4 |
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); } |