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; }