summaryrefslogtreecommitdiff
path: root/capture_opts.c
diff options
context:
space:
mode:
Diffstat (limited to 'capture_opts.c')
-rw-r--r--capture_opts.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/capture_opts.c b/capture_opts.c
index d382448d0a..93cea2ab77 100644
--- a/capture_opts.c
+++ b/capture_opts.c
@@ -121,6 +121,12 @@ capture_opts_init(capture_options *capture_opts)
capture_opts->capture_child = FALSE;
}
+void
+capture_opts_cleanup(capture_options *capture_opts)
+{
+ g_array_free(capture_opts->ifaces, TRUE);
+ g_array_free(capture_opts->all_ifaces, TRUE);
+}
/* log content of capture_opts */
void