]> The Tcpdump Group git mirrors - tcpdump/commit
tcpdump: plug a memory leak.
authorGuy Harris <[email protected]>
Sun, 5 Feb 2023 20:12:22 +0000 (12:12 -0800)
committerGuy Harris <[email protected]>
Sun, 5 Feb 2023 20:12:22 +0000 (12:12 -0800)
commit9904bbbd9ed020931d55ce6a4aed8a1dfc3d3841
tree6469a1137da599a37f8586c5492c1cfbb2ffd018
parent7578e1c04ee280dda50c4c2813e7d55f539c6501
tcpdump: plug a memory leak.

If the -V flag is used, and not all files in the -V file have the same
link-layer type, when the filter is recompiled for a new link-layer
type, the old filter program is leaked.  Free the old filter before
compiling the new filter.
tcpdump.c