forked from enlightenment/efl
valgrind complaint fix!zero out stack before use in embryo.
SVN revision: 70468
This commit is contained in:
parent
6668343015
commit
5b1eab91e7
|
@ -427,7 +427,7 @@ embryo_program_vm_push(Embryo_Program *ep)
|
|||
return;
|
||||
}
|
||||
hdr = (Embryo_Header *)ep->code;
|
||||
ep->base = malloc(hdr->stp);
|
||||
ep->base = calloc(1, hdr->stp);
|
||||
if (!ep->base)
|
||||
{
|
||||
ep->pushes = 0;
|
||||
|
|
Loading…
Reference in New Issue