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.
This commit is contained in:
parent
5dbd2da153
commit
48d91509de
|
@ -116,4 +116,5 @@ bpf_stats(char *interface)
|
|||
d->bd_slen, d->bd_hlen, pname);
|
||||
free(pname);
|
||||
}
|
||||
free(bd);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue