gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-anastasis] branch master updated: -fix leaks


From: gnunet
Subject: [taler-anastasis] branch master updated: -fix leaks
Date: Sun, 07 May 2023 01:20:34 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository anastasis.

The following commit(s) were added to refs/heads/master by this push:
     new 500cde8  -fix leaks
500cde8 is described below

commit 500cde85592167b78b0f0d9420bb2043fb252742
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun May 7 01:20:32 2023 +0200

    -fix leaks
---
 src/authorization/anastasis_authorization_plugin_email.c | 1 +
 src/authorization/anastasis_authorization_plugin_post.c  | 1 +
 src/authorization/anastasis_authorization_plugin_sms.c   | 1 +
 3 files changed, 3 insertions(+)

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,
 {
   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
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,
 {
   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
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,
 {
   struct ANASTASIS_AUTHORIZATION_State *as = cls;
 
+  GNUNET_OS_process_destroy (ac->child);
   as->child = NULL;
   as->cwh = NULL;
   as->pst = type;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]