projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glu/sgi: Initialize member of class Pool.
[mesa.git]
/
src
/
glu
/
sgi
/
libnurbs
/
internals
/
bufpool.cc
diff --git
a/src/glu/sgi/libnurbs/internals/bufpool.cc
b/src/glu/sgi/libnurbs/internals/bufpool.cc
index 8cc847ab2259150f7ed7c20eebc2894a4141e8e9..53ac1a5695d138faa4003fe9b32503af6c4a3b00 100644
(file)
--- a/
src/glu/sgi/libnurbs/internals/bufpool.cc
+++ b/
src/glu/sgi/libnurbs/internals/bufpool.cc
@@
-60,6
+60,9
@@
Pool::Pool( int _buffersize, int initpoolsize, const char *n )
curblock = 0;
freelist = 0;
nextfree = 0;
+ for (int i = 0; i < NBLOCKS; i++) {
+ blocklist[i] = 0;
+ }
}
/*-----------------------------------------------------------------------------