aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-snoop.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcap-snoop.c')
-rw-r--r--pcap-snoop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pcap-snoop.c b/pcap-snoop.c
index c8259a4..330e01d 100644
--- a/pcap-snoop.c
+++ b/pcap-snoop.c
@@ -389,6 +389,7 @@ pcap_activate_snoop(pcap_t *p)
return (0);
bad:
+ pcap_cleanup_live_common(p);
return (PCAP_ERROR);
}