diff options
author | delphij <delphij@FreeBSD.org> | 2009-12-21 19:15:30 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2009-12-21 19:15:30 +0000 |
commit | 53f77f22a039db1d4c881fd4179c98debcd40243 (patch) | |
tree | bece5d7785153f933d89d5c8239447f9afde2ee2 /usr.bin/finger | |
parent | 34da792643dd7a35711b8f459a0df8c2c11a3499 (diff) | |
download | FreeBSD-src-53f77f22a039db1d4c881fd4179c98debcd40243.zip FreeBSD-src-53f77f22a039db1d4c881fd4179c98debcd40243.tar.gz |
Plug a memory leak.
PR: bin/141836
Submitted by: Henning Petersen <henning.petersen at t-online.de>
MFC after: 2 weeks
Diffstat (limited to 'usr.bin/finger')
-rw-r--r-- | usr.bin/finger/finger.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/finger/finger.c b/usr.bin/finger/finger.c index b278752..944415e 100644 --- a/usr.bin/finger/finger.c +++ b/usr.bin/finger/finger.c @@ -373,6 +373,7 @@ net: for (p = nargv; *p;) { printf("\n"); } + free(used); if (entries == 0) return; |