diff options
author | csjp <csjp@FreeBSD.org> | 2005-09-07 19:28:01 +0000 |
---|---|---|
committer | csjp <csjp@FreeBSD.org> | 2005-09-07 19:28:01 +0000 |
commit | 092230593a108a7a2dbb3abc53892788ee312f9f (patch) | |
tree | cf23dfe69b27a14fadb27d304e14f90edc652d6c /usr.bin | |
parent | aab5eef5156f197a11ab4c06c9b86a54fcc7f95f (diff) | |
download | FreeBSD-src-092230593a108a7a2dbb3abc53892788ee312f9f.zip FreeBSD-src-092230593a108a7a2dbb3abc53892788ee312f9f.tar.gz |
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.
Diffstat (limited to 'usr.bin')
-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 a3ac26c..e046ee5 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); } |