diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-05-07 01:20:32 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-05-07 01:20:32 +0200 |
commit | 500cde85592167b78b0f0d9420bb2043fb252742 (patch) | |
tree | 85119e5f23888a92cee12f3af3c7b6a7a04549f8 | |
parent | 3285ce77d9e6a6ce9c7e97e21dc319bc3b8a07e6 (diff) | |
download | anastasis-500cde85592167b78b0f0d9420bb2043fb252742.tar.gz anastasis-500cde85592167b78b0f0d9420bb2043fb252742.zip |
-fix leaks
3 files changed, 3 insertions, 0 deletions
diff --git a/src/authorization/anastasis_authorization_plugin_email.c b/src/authorization/anastasis_authorization_plugin_email.c index 62b50b8..da08360 100644 --- a/src/authorization/anastasis_authorization_plugin_email.c +++ b/src/authorization/anastasis_authorization_plugin_email.c | |||
@@ -296,6 +296,7 @@ email_done_cb (void *cls, | |||
296 | { | 296 | { |
297 | struct ANASTASIS_AUTHORIZATION_State *as = cls; | 297 | struct ANASTASIS_AUTHORIZATION_State *as = cls; |
298 | 298 | ||
299 | GNUNET_OS_process_destroy (ac->child); | ||
299 | as->child = NULL; | 300 | as->child = NULL; |
300 | as->cwh = NULL; | 301 | as->cwh = NULL; |
301 | as->pst = type; | 302 | as->pst = type; |
diff --git a/src/authorization/anastasis_authorization_plugin_post.c b/src/authorization/anastasis_authorization_plugin_post.c index 1863279..87ed9d7 100644 --- a/src/authorization/anastasis_authorization_plugin_post.c +++ b/src/authorization/anastasis_authorization_plugin_post.c | |||
@@ -334,6 +334,7 @@ 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); | ||
337 | as->child = NULL; | 338 | as->child = NULL; |
338 | as->cwh = NULL; | 339 | as->cwh = NULL; |
339 | as->pst = type; | 340 | as->pst = type; |
diff --git a/src/authorization/anastasis_authorization_plugin_sms.c b/src/authorization/anastasis_authorization_plugin_sms.c index 47439eb..7d8a2ca 100644 --- a/src/authorization/anastasis_authorization_plugin_sms.c +++ b/src/authorization/anastasis_authorization_plugin_sms.c | |||
@@ -295,6 +295,7 @@ sms_done_cb (void *cls, | |||
295 | { | 295 | { |
296 | struct ANASTASIS_AUTHORIZATION_State *as = cls; | 296 | struct ANASTASIS_AUTHORIZATION_State *as = cls; |
297 | 297 | ||
298 | GNUNET_OS_process_destroy (ac->child); | ||
298 | as->child = NULL; | 299 | as->child = NULL; |
299 | as->cwh = NULL; | 300 | as->cwh = NULL; |
300 | as->pst = type; | 301 | as->pst = type; |