From: Guy Harris Date: Sat, 7 Oct 2017 23:16:37 +0000 (-0700) Subject: Plug another leak. X-Git-Tag: libpcap-1.9-bp~497 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/3c245eacffbd2627ea5e8ca6f1f94827f9675daf?ds=sidebyside Plug another leak. Fixes Coverity CID 1418990. --- diff --git a/pcap.c b/pcap.c index 6feb7158..8b7d21f0 100644 --- a/pcap.c +++ b/pcap.c @@ -1880,6 +1880,7 @@ pcap_parsesrcstr(const char *source, int *type, char *host, char *port, if (type) *type = PCAP_SRC_IFLOCAL; free(tmppath); + free(tmpport); free(tmphost); free(tmpuserinfo); free(scheme);