diff options
Diffstat (limited to 'src/testbed/testbed_api_cmd_netjail_start.c')
-rw-r--r-- | src/testbed/testbed_api_cmd_netjail_start.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testbed/testbed_api_cmd_netjail_start.c b/src/testbed/testbed_api_cmd_netjail_start.c index 320537a61..1e37d5475 100644 --- a/src/testbed/testbed_api_cmd_netjail_start.c +++ b/src/testbed/testbed_api_cmd_netjail_start.c | |||
@@ -59,6 +59,9 @@ netjail_start_cleanup (void *cls, | |||
59 | { | 59 | { |
60 | struct NetJailState *ns = cls; | 60 | struct NetJailState *ns = cls; |
61 | 61 | ||
62 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
63 | "netjail_start_cleanup!\n"); | ||
64 | |||
62 | if (NULL != ns->cwh) | 65 | if (NULL != ns->cwh) |
63 | { | 66 | { |
64 | GNUNET_wait_child_cancel (ns->cwh); | 67 | GNUNET_wait_child_cancel (ns->cwh); |
@@ -74,6 +77,7 @@ netjail_start_cleanup (void *cls, | |||
74 | GNUNET_OS_process_destroy (ns->start_proc); | 77 | GNUNET_OS_process_destroy (ns->start_proc); |
75 | ns->start_proc = NULL; | 78 | ns->start_proc = NULL; |
76 | } | 79 | } |
80 | GNUNET_free (ns); | ||
77 | } | 81 | } |
78 | 82 | ||
79 | 83 | ||
@@ -108,6 +112,8 @@ child_completed_callback (void *cls, | |||
108 | } | 112 | } |
109 | else | 113 | else |
110 | { | 114 | { |
115 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | ||
116 | "Child completed with an error!\n"); | ||
111 | ns->finished = GNUNET_SYSERR; | 117 | ns->finished = GNUNET_SYSERR; |
112 | } | 118 | } |
113 | GNUNET_OS_process_destroy (ns->start_proc); | 119 | GNUNET_OS_process_destroy (ns->start_proc); |