diff options
Diffstat (limited to 'src/authorization/anastasis_authorization_plugin_post.c')
-rw-r--r-- | src/authorization/anastasis_authorization_plugin_post.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/authorization/anastasis_authorization_plugin_post.c b/src/authorization/anastasis_authorization_plugin_post.c index 87ed9d7..9410b58 100644 --- a/src/authorization/anastasis_authorization_plugin_post.c +++ b/src/authorization/anastasis_authorization_plugin_post.c | |||
@@ -334,9 +334,12 @@ post_done_cb (void *cls, | |||
334 | { | 334 | { |
335 | struct ANASTASIS_AUTHORIZATION_State *as = cls; | 335 | struct ANASTASIS_AUTHORIZATION_State *as = cls; |
336 | 336 | ||
337 | GNUNET_OS_process_destroy (ac->child); | ||
338 | as->child = NULL; | ||
339 | as->cwh = NULL; | 337 | as->cwh = NULL; |
338 | if (NULL != as->child) | ||
339 | { | ||
340 | GNUNET_OS_process_destroy (as->child); | ||
341 | as->child = NULL; | ||
342 | } | ||
340 | as->pst = type; | 343 | as->pst = type; |
341 | as->exit_code = exit_code; | 344 | as->exit_code = exit_code; |
342 | MHD_resume_connection (as->connection); | 345 | MHD_resume_connection (as->connection); |