close ressources
authorPhilipp Tölke <toelke@in.tum.de>
Thu, 9 Sep 2010 13:06:33 +0000 (13:06 +0000)
committerPhilipp Tölke <toelke@in.tum.de>
Thu, 9 Sep 2010 13:06:33 +0000 (13:06 +0000)
src/vpn/gnunet-daemon-vpn.c

index 6610d33b3c3d0c4769d4290ee91b8229f79bf4b7..d0237268910b29df4af458bb9f984af1346fa6eb 100644 (file)
@@ -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);