Rest of code assumes that allocated memory is filled with zeroes
This commit is contained in:
parent
f4916f9ee4
commit
01213bcafb
@ -60,6 +60,7 @@ void *AllocTemporary(size_t n)
|
||||
h->prev = NULL;
|
||||
h->next = Head;
|
||||
Head = h;
|
||||
memset(&h[1], 0, n);
|
||||
return (void *)&h[1];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user