Silence Yet Another Valgrind complaint

This commit is contained in:
Pasi Kallinen
2016-12-29 19:19:00 +02:00
parent 24f934dfea
commit 79870d33be

View File

@@ -1824,6 +1824,7 @@ const char *killername;
if (k == (struct kinfo *) 0) {
/* no match, add a new delayed killer to the list */
k = (struct kinfo *) alloc(sizeof(struct kinfo));
(void) memset((genericptr_t)k, 0, sizeof(struct kinfo));
k->id = id;
k->next = killer.next;
killer.next = k;