struct vpn_cls* mycls = (struct vpn_cls*) cls;
// Kill the helper
- PLIBC_KILL(mycls->helper_pid, SIGTERM);
+ PLIBC_KILL(mycls->helper_pid, SIGKILL);
GNUNET_OS_process_wait(mycls->helper_pid);
// Restart the helper
"gnunet-daemon-vpn",
gettext_noop ("help text"),
options, &run, cls)) ? ret : 1;
+
+ free(cls); // Make clang happy
}
/* end of gnunet-daemon-vpn.c */