commit | 7175f8464400c2ba92d534c66647e15ecc4f8bc7 | [log] [tgz] |
---|---|---|
author | Michal Ruprich <michalruprich@gmail.com> | Tue Jul 27 10:00:00 2021 +0200 |
committer | Guy Harris <gharris@sonic.net> | Tue Oct 19 22:13:27 2021 -0700 |
tree | be64f8dc80fa65f72f6ebab401740c658c9a08a9 | |
parent | 0d8e0ea29ae107268103dc72246371f85d02a388 [diff] |
Possible resource leak in pcap-linux.c (cherry picked from commit 5e13e2cc68af4265d6cab6096ce7b152dc36d1f8)
diff --git a/pcap-linux.c b/pcap-linux.c index 9c14764..18c71ea 100644 --- a/pcap-linux.c +++ b/pcap-linux.c
@@ -1618,8 +1618,8 @@ } } fclose(fh); - free(pathstr); } + free(pathstr); } #ifdef ETHTOOL_GLINK