From 81178537cdd3dadda4c0cc080ad788469f371cba Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Thu, 1 Nov 2018 09:18:37 +0100 Subject: [PATCH] Use ws_pipe_close() in one more place Change-Id: I584df2c7ae8041a29d9941995883c232abb040d6 Reviewed-on: https://code.wireshark.org/review/30452 Petri-Dish: Pascal Quantin Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin --- capture_opts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capture_opts.c b/capture_opts.c index cb7b8dc085..1a81b7fc32 100644 --- a/capture_opts.c +++ b/capture_opts.c @@ -1165,7 +1165,7 @@ capture_opts_del_iface(capture_options *capture_opts, guint if_index) if (interface_opts->extcap_args) g_hash_table_unref(interface_opts->extcap_args); if (interface_opts->extcap_pid != WS_INVALID_PID) - g_spawn_close_pid(interface_opts->extcap_pid); + ws_pipe_close((ws_pipe_t *) interface_opts->extcap_pipedata); g_free(interface_opts->extcap_pipedata); g_free(interface_opts->extcap_control_in); g_free(interface_opts->extcap_control_out);