Another place where malloc is expected to return zero'ed storage.
(Found with phkmalloc/2 (TNG!) send me email if you want a copy.)
This commit is contained in:
parent
d16b647e7f
commit
3dff9b4169
@ -101,6 +101,7 @@ int value;
|
||||
|
||||
item = &firstentry(second);
|
||||
this = (struct thing *) malloc(sizeof *this);
|
||||
memset((void*)this,0,sizeof *this);
|
||||
this->next = *item;
|
||||
*item = this;
|
||||
this->value = value;
|
||||
|
Loading…
Reference in New Issue
Block a user