Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-02-09 15:06:04 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-02-09 15:06:04 +0300
commit7d2d5c990f594fc4cd96b3ae34c8acca5b960a93 (patch)
treeda1e34da61a586e582fd00da936677a39522ccec /source/blender/blenlib
parent3f529256ebeb99536a52d6dd9cb20c69ced8c164 (diff)
fix for uninitialized mempool variable.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/BLI_mempool.c1
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;