From 5a15b1fcc1a9f00ff9c529984394b1e8657739d0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Philipp=20T=C3=B6lke?= Date: Thu, 9 Sep 2010 13:06:33 +0000 Subject: [PATCH] close ressources --- src/vpn/gnunet-daemon-vpn.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vpn/gnunet-daemon-vpn.c b/src/vpn/gnunet-daemon-vpn.c index 6610d33b3..d02372689 100644 --- a/src/vpn/gnunet-daemon-vpn.c +++ b/src/vpn/gnunet-daemon-vpn.c @@ -94,6 +94,9 @@ static void restart_helper(void* cls, const struct GNUNET_SCHEDULER_TaskContext* PLIBC_KILL(mycls.helper_pid, SIGKILL); GNUNET_OS_process_wait(mycls.helper_pid); + GNUNET_DISK_pipe_close(mycls.helper_in); + GNUNET_DISK_pipe_close(mycls.helper_out); + // Restart the helper start_helper_and_schedule(mycls); -- 2.25.1