diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2015-06-16 22:31:38 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2015-06-16 22:31:38 +0000 |
commit | fcc68ddb2e2bfd77175e509a7b3b5ec44b7f2659 (patch) | |
tree | e52f32732944aec6b255642b5305d1c17636c0f0 /usr.sbin | |
parent | ae4e55741c945e372d95e66120708d49faccb79f (diff) | |
download | FreeBSD-src-fcc68ddb2e2bfd77175e509a7b3b5ec44b7f2659.zip FreeBSD-src-fcc68ddb2e2bfd77175e509a7b3b5ec44b7f2659.tar.gz |
syslogd: don't leak finet0.
Submitted by: Kurt Lidl <lidl pix.net>
Sponsored by: Pi-Coral, Inc.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/syslogd/syslogd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c index 55c0379..9ffe797 100644 --- a/usr.sbin/syslogd/syslogd.c +++ b/usr.sbin/syslogd/syslogd.c @@ -587,6 +587,7 @@ main(int argc, char *argv[]) finet[(*finet)+i] = finet0[i]; } *finet = total - 1; + free(finet0); } } } |