26 lines
601 B
Diff
26 lines
601 B
Diff
|
|
From b3cedb07ac72ac03e552be437149244be12363b7 Mon Sep 17 00:00:00 2001
|
||
|
|
From: Kevin Boulain <kevin.boulain@securactive.net>
|
||
|
|
Date: Tue, 16 Oct 2018 15:46:46 +0000
|
||
|
|
Subject: [PATCH 188/470] Fix leak in rpcap
|
||
|
|
|
||
|
|
---
|
||
|
|
pcap-rpcap.c | 2 ++
|
||
|
|
1 file changed, 2 insertions(+)
|
||
|
|
|
||
|
|
diff --git a/pcap-rpcap.c b/pcap-rpcap.c
|
||
|
|
index a62296d..8e7e1ad 100644
|
||
|
|
--- a/pcap-rpcap.c
|
||
|
|
+++ b/pcap-rpcap.c
|
||
|
|
@@ -763,6 +763,8 @@ static void pcap_cleanup_rpcap(pcap_t *fp)
|
||
|
|
pr->currentfilter = NULL;
|
||
|
|
}
|
||
|
|
|
||
|
|
+ pcap_cleanup_live_common(fp);
|
||
|
|
+
|
||
|
|
/* To avoid inconsistencies in the number of sock_init() */
|
||
|
|
sock_cleanup();
|
||
|
|
}
|
||
|
|
--
|
||
|
|
1.8.3.1
|
||
|
|
|