From 33abb91828c268cec9dd5fefe8adddb57d4a189c Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Wed, 1 Apr 2015 16:54:20 +0200 Subject: dumpcap: fix Resource leak (CID: 129558) Change-Id: Ia5d91889ad636412f9ed8104818bfbbd311bf99b Reviewed-on: https://code.wireshark.org/review/7879 Petri-Dish: Alexis La Goutte Reviewed-by: Guy Harris --- dumpcap.c | 1 + 1 file changed, 1 insertion(+) (limited to 'dumpcap.c') diff --git a/dumpcap.c b/dumpcap.c index 696f6f706d..892e46c2a0 100644 --- a/dumpcap.c +++ b/dumpcap.c @@ -1178,6 +1178,7 @@ is_linux_bonding_device(const char *ifname) } #endif + close(fd); return FALSE; } #else -- cgit v1.2.3