diff --git a/legacy/embryo/src/lib/embryo_amx.c b/legacy/embryo/src/lib/embryo_amx.c index 7a411119d3..689e5e42f4 100644 --- a/legacy/embryo/src/lib/embryo_amx.c +++ b/legacy/embryo/src/lib/embryo_amx.c @@ -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;