summaryrefslogtreecommitdiff
path: root/pcap_activate.3pcap
diff options
context:
space:
mode:
Diffstat (limited to 'pcap_activate.3pcap')
-rw-r--r--pcap_activate.3pcap7
1 files changed, 7 insertions, 0 deletions
diff --git a/pcap_activate.3pcap b/pcap_activate.3pcap
index 162a9293..b9279ce1 100644
--- a/pcap_activate.3pcap
+++ b/pcap_activate.3pcap
@@ -118,5 +118,12 @@ codes as errors.
.B pcap_statustostr(3PCAP)
can be called, with a warning or error code as an argument, to fetch a
message describing the warning or error code.
+.LP
+If
+.B pcap_activate()
+fails, the
+.I pcap_t *
+is not closed and freed; it should be closed using
+.BR pcap_close() .
.SH SEE ALSO
pcap(3PCAP)