diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-02-09 15:06:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-02-09 15:06:04 +0300 |
commit | 7d2d5c990f594fc4cd96b3ae34c8acca5b960a93 (patch) | |
tree | da1e34da61a586e582fd00da936677a39522ccec /source/blender | |
parent | 3f529256ebeb99536a52d6dd9cb20c69ced8c164 (diff) |
fix for uninitialized mempool variable.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenlib/intern/BLI_mempool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/BLI_mempool.c b/source/blender/blenlib/intern/BLI_mempool.c index 373b4d5add9..b6af938a87c 100644 --- a/source/blender/blenlib/intern/BLI_mempool.c +++ b/source/blender/blenlib/intern/BLI_mempool.c @@ -69,6 +69,7 @@ BLI_mempool *BLI_mempool_create(int esize, int tote, int pchunk, int use_sysmall pool->pchunk = pchunk; pool->csize = esize * pchunk; pool->chunks.first = pool->chunks.last = NULL; + pool->totused= 0; maxchunks = tote / pchunk + 1; |