summaryrefslogtreecommitdiff
path: root/tshark.c
diff options
context:
space:
mode:
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tshark.c b/tshark.c
index fac5b0bb55..84c8d5f929 100644
--- a/tshark.c
+++ b/tshark.c
@@ -2189,7 +2189,9 @@ main(int argc, char *argv[])
output_fields = NULL;
clean_exit:
+#ifdef HAVE_LIBPCAP
capture_opts_cleanup(&global_capture_opts);
+#endif
return exit_status;
}