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... :)
This commit is contained in:
Ton Roosendaal 2006-01-28 19:05:49 +00:00
parent 0d0255f3f5
commit 9ce8944a05

@ -258,7 +258,7 @@ static APixstr *addpsmainA(ListBase *lb)
psm= RE_mallocN(sizeof(APixstrMain), "addpsmainA"); psm= RE_mallocN(sizeof(APixstrMain), "addpsmainA");
BLI_addtail(lb, psm); BLI_addtail(lb, psm);
psm->ps= RE_mallocN(4096*sizeof(APixstr),"pixstr"); psm->ps= RE_callocN(4096*sizeof(APixstr),"pixstr");
return psm->ps; return psm->ps;
} }