From: Guy Harris Date: Sun, 5 Feb 2023 20:12:22 +0000 (-0800) Subject: tcpdump: plug a memory leak. X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/9904bbbd9ed020931d55ce6a4aed8a1dfc3d3841?ds=sidebyside;hp=9904bbbd9ed020931d55ce6a4aed8a1dfc3d3841 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. ---