diff options
author | jkh <jkh@FreeBSD.org> | 1996-12-11 18:23:19 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-12-11 18:23:19 +0000 |
commit | 17cc23f57886f93c187a29f8994632dac71ebf7b (patch) | |
tree | b4559797b88382d69ce7830e112c0f922eafa0ba /usr.sbin/sysinstall/dist.c | |
parent | e1e9e3aa19b00c35016cddf8a23e2b7fc0d9f4e0 (diff) | |
download | FreeBSD-src-17cc23f57886f93c187a29f8994632dac71ebf7b.zip FreeBSD-src-17cc23f57886f93c187a29f8994632dac71ebf7b.tar.gz |
Be more efficient in how we use memory (stumbled across while looking for
something else) for attributes and variables.
Remove stack-stomper in sstrncpy().
Diffstat (limited to 'usr.sbin/sysinstall/dist.c')
-rw-r--r-- | usr.sbin/sysinstall/dist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c index 40a0c860..b2f60a0 100644 --- a/usr.sbin/sysinstall/dist.c +++ b/usr.sbin/sysinstall/dist.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: dist.c,v 1.80 1996/12/08 12:27:54 jkh Exp $ + * $Id: dist.c,v 1.81 1996/12/11 09:34:57 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -400,7 +400,7 @@ distExtract(char *parent, Distribution *me) if (tmp) numchunks = strtol(tmp, 0, 0); } - safe_free(dist_attr); + attr_free(dist_attr); fclose(fp); if (!numchunks) continue; |