Closed GoogleCodeExporter closed 9 years ago
The vector structure tries to minimize the number of malloc/free. When you
request a clear, it does not really free the memory but only set size to 0 such
that subsequent push_back won't need to re-alloc new memory.
This also means that individual items are not freed since the vector class is
not responsible for the allocation, maybe this is the problem ?
Original comment by Nicolas.Rougier@gmail.com
on 4 Jul 2012 at 9:05
Finally, you were right, there was a need for a vector_delete( self->items )
in vertex_buffer.
It has been fixed.
Original comment by Nicolas.Rougier@gmail.com
on 19 Jul 2012 at 8:53
Original issue reported on code.google.com by
dimko...@gmail.com
on 25 Jun 2012 at 7:21