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