aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-10-09 08:18:57 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-10-09 08:18:57 +0000
commit975a621d60de7c2e045c87224bbed4d9a30d5d5f (patch)
tree79e7694c4d332cb41a9ae2cbd112089751529ad7 /usr.bin
parent6ab4141a4d91724927d0ba570ff6674d9753d6f6 (diff)
Notes
Diffstat (limited to 'usr.bin')
-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 afa36afb9c78e..7f75569853032 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(this, 0, sizeof *this);
this->next = *item;
*item = this;
this->value = value;