From: Philipp Tölke Date: Thu, 9 Sep 2010 13:06:33 +0000 (+0000) Subject: close ressources X-Git-Tag: initial-import-from-subversion-38251~20364 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5a15b1fcc1a9f00ff9c529984394b1e8657739d0;p=oweals%2Fgnunet.git close ressources --- 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);