commit 500cde85592167b78b0f0d9420bb2043fb252742
parent 3285ce77d9e6a6ce9c7e97e21dc319bc3b8a07e6
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 7 May 2023 01:20:32 +0200
-fix leaks
Diffstat:
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
@@ -296,6 +296,7 @@ email_done_cb (void *cls,
{
struct ANASTASIS_AUTHORIZATION_State *as = cls;
+ GNUNET_OS_process_destroy (ac->child);
as->child = NULL;
as->cwh = NULL;
as->pst = type;
diff --git 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,
{
struct ANASTASIS_AUTHORIZATION_State *as = cls;
+ GNUNET_OS_process_destroy (ac->child);
as->child = NULL;
as->cwh = NULL;
as->pst = type;
diff --git 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,
{
struct ANASTASIS_AUTHORIZATION_State *as = cls;
+ GNUNET_OS_process_destroy (ac->child);
as->child = NULL;
as->cwh = NULL;
as->pst = type;