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