summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/tn3270/tools/mkhits/dohits.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/tn3270/tools/mkhits/dohits.c b/usr.bin/tn3270/tools/mkhits/dohits.c
index afa36afb9c78..4e3dadb1362e 100644
--- a/usr.bin/tn3270/tools/mkhits/dohits.c
+++ b/usr.bin/tn3270/tools/mkhits/dohits.c
@@ -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;