diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-08-02 08:38:01 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-08-02 08:38:01 -0600 |
commit | 89cad79b4186166f4420317472801b73410402f4 (patch) | |
tree | dc8ae194b2e389fd5aabf57c470c8292d2818db2 /src/glu/sgi/libnurbs/interface/insurfeval.cc | |
parent | 6e6a02261a7c0fcfdf9fbf17199aff4278c8e5b7 (diff) |
fix double free()s (bug 11808)
Diffstat (limited to 'src/glu/sgi/libnurbs/interface/insurfeval.cc')
-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 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); } |