diff options
author | Christian S.J. Peron <csjp@FreeBSD.org> | 2005-09-07 19:28:01 +0000 |
---|---|---|
committer | Christian S.J. Peron <csjp@FreeBSD.org> | 2005-09-07 19:28:01 +0000 |
commit | 48d91509de69d217ea2ea05cfe49f08def60b3e0 (patch) | |
tree | cf23dfe69b27a14fadb27d304e14f90edc652d6c | |
parent | 5dbd2da1539dc95f55744078b622f55e79919ce2 (diff) | |
download | src-48d91509de69d217ea2ea05cfe49f08def60b3e0.tar.gz src-48d91509de69d217ea2ea05cfe49f08def60b3e0.zip |
Free the bpf descriptor array after we are done with it. This probably isnt
that critical as the program exits after this point anyway, but this may
not always be the case.
Notes
Notes:
svn path=/head/; revision=149867
-rw-r--r-- | usr.bin/netstat/bpf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/netstat/bpf.c b/usr.bin/netstat/bpf.c index a3ac26c27386..e046ee57a35e 100644 --- a/usr.bin/netstat/bpf.c +++ b/usr.bin/netstat/bpf.c @@ -116,4 +116,5 @@ bpf_stats(char *interface) d->bd_slen, d->bd_hlen, pname); free(pname); } + free(bd); } |