gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: fix leak


From: gnunet
Subject: [taler-exchange] branch master updated: fix leak
Date: Sat, 13 Feb 2021 19:27:52 +0100

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 7c588d0b fix leak
7c588d0b is described below

commit 7c588d0bc721f375ddaa277b57b8f7d96087fb08
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Feb 13 19:27:50 2021 +0100

    fix leak
---
 src/exchange/taler-exchange-httpd_management_post_keys.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/exchange/taler-exchange-httpd_management_post_keys.c 
b/src/exchange/taler-exchange-httpd_management_post_keys.c
index 18f4c1b3..a4e8ac35 100644
--- a/src/exchange/taler-exchange-httpd_management_post_keys.c
+++ b/src/exchange/taler-exchange-httpd_management_post_keys.c
@@ -343,6 +343,7 @@ TEH_handler_management_post_keys (
          json_is_array (signkey_sigs)) )
   {
     GNUNET_break_op (0);
+    GNUNET_JSON_parse_free (spec);
     return TALER_MHD_reply_with_error (
       connection,
       MHD_HTTP_BAD_REQUEST,
@@ -385,6 +386,7 @@ TEH_handler_management_post_keys (
   if (! ok)
   {
     GNUNET_free (akc.d_sigs);
+    GNUNET_JSON_parse_free (spec);
     return ret;
   }
   akc.ns_sigs = json_array_size (signkey_sigs);
@@ -423,6 +425,7 @@ TEH_handler_management_post_keys (
   {
     GNUNET_free (akc.d_sigs);
     GNUNET_free (akc.s_sigs);
+    GNUNET_JSON_parse_free (spec);
     return ret;
   }
   GNUNET_log (GNUNET_ERROR_TYPE_INFO,
@@ -436,6 +439,7 @@ TEH_handler_management_post_keys (
                                &akc);
   GNUNET_free (akc.d_sigs);
   GNUNET_free (akc.s_sigs);
+  GNUNET_JSON_parse_free (spec);
   if (qs < 0)
     return ret;
   TEH_keys_update_states ();

-- 
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]