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:
authorTon Roosendaal <ton@blender.org>2006-01-28 22:05:49 +0300
committerTon Roosendaal <ton@blender.org>2006-01-28 22:05:49 +0300
commit9ce8944a05832c32dfcab03adc8f4b3e1c9dd975 (patch)
tree86bbba7ebcb8e340ba2586d248793524af643c47 /source/blender/render
parent0d0255f3f5cd7c26455da95fd187fef0c0f0a71a (diff)
Wow! bugfix in bf-blender again!
Simon C. gave me a nice crash.blend, in zbuffered transparent render. Was a malloc that should become calloc... :)
Diffstat (limited to 'source/blender/render')
-rw-r--r--source/blender/render/intern/source/zbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/zbuf.c b/source/blender/render/intern/source/zbuf.c
index 3be859019ed..1c2cdb2c616 100644
--- a/source/blender/render/intern/source/zbuf.c
+++ b/source/blender/render/intern/source/zbuf.c
@@ -258,7 +258,7 @@ static APixstr *addpsmainA(ListBase *lb)
psm= RE_mallocN(sizeof(APixstrMain), "addpsmainA");
BLI_addtail(lb, psm);
- psm->ps= RE_mallocN(4096*sizeof(APixstr),"pixstr");
+ psm->ps= RE_callocN(4096*sizeof(APixstr),"pixstr");
return psm->ps;
}