diff options
author | Brian Paul <[email protected]> | 2003-05-08 15:47:00 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-05-08 15:47:00 +0000 |
commit | 6636a6141800fd367689e9d3bcdd61c298df64ff (patch) | |
tree | 097b787ba3a79089ff9045241dd1f3701337ef03 /src/glu/sgi/libnurbs/internals | |
parent | 7357f20b1ee3ab0c58c7a20f44bf83fdfe0e256e (diff) |
fixed delete statement (bug 721765)
Diffstat (limited to 'src/glu/sgi/libnurbs/internals')
-rw-r--r-- | src/glu/sgi/libnurbs/internals/trimvertpool.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/glu/sgi/libnurbs/internals/trimvertpool.cc b/src/glu/sgi/libnurbs/internals/trimvertpool.cc index 26761b91480..7c12ab39994 100644 --- a/src/glu/sgi/libnurbs/internals/trimvertpool.cc +++ b/src/glu/sgi/libnurbs/internals/trimvertpool.cc @@ -35,8 +35,8 @@ /* * trimvertexpool.c++ * - * $Date: 2001/03/17 00:25:41 $ $Revision: 1.1 $ - * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/internals/trimvertpool.cc,v 1.1 2001/03/17 00:25:41 brianp Exp $ + * $Date: 2003/05/08 15:47:00 $ $Revision: 1.2 $ + * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/internals/trimvertpool.cc,v 1.2 2003/05/08 15:47:00 brianp Exp $ */ #include "glimports.h" @@ -68,7 +68,7 @@ TrimVertexPool::~TrimVertexPool( void ) { // free all arrays of TrimVertices vertices while( nextvlistslot ) { - delete vlist[--nextvlistslot]; + delete [] vlist[--nextvlistslot]; } // reallocate space for array of pointers to vertex lists @@ -87,7 +87,7 @@ TrimVertexPool::clear( void ) // free all arrays of TrimVertices vertices while( nextvlistslot ) { - delete vlist[--nextvlistslot]; + delete [] vlist[--nextvlistslot]; vlist[nextvlistslot] = 0; } |