Silence Yet Another Valgrind complaint
This commit is contained in:
@@ -1824,6 +1824,7 @@ const char *killername;
|
|||||||
if (k == (struct kinfo *) 0) {
|
if (k == (struct kinfo *) 0) {
|
||||||
/* no match, add a new delayed killer to the list */
|
/* no match, add a new delayed killer to the list */
|
||||||
k = (struct kinfo *) alloc(sizeof(struct kinfo));
|
k = (struct kinfo *) alloc(sizeof(struct kinfo));
|
||||||
|
(void) memset((genericptr_t)k, 0, sizeof(struct kinfo));
|
||||||
k->id = id;
|
k->id = id;
|
||||||
k->next = killer.next;
|
k->next = killer.next;
|
||||||
killer.next = k;
|
killer.next = k;
|
||||||
|
|||||||
Reference in New Issue
Block a user