summaryrefslogtreecommitdiff
path: root/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'read.c')
-rw-r--r--read.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/read.c b/read.c
index 5287de8..6985d22 100644
--- a/read.c
+++ b/read.c
@@ -2426,6 +2426,7 @@ parse_file_seq (char **stringp, int stopchar, unsigned int size, int strip)
/* Add it to the front of the chain. */
new1 = xmalloc (size);
+ memset (new1, '\0', size);
new1->name = name;
new1->next = new;
new = new1;