gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant] branch master updated: fix leak


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: fix leak
Date: Tue, 16 Jan 2018 13:18:44 +0100

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

grothoff pushed a commit to branch master
in repository merchant.

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

commit 07b11cf380b037437d9483b83904d0e8f6994991
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Jan 16 13:18:42 2018 +0100

    fix leak
---
 src/backend/taler-merchant-httpd_pay.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_pay.c 
b/src/backend/taler-merchant-httpd_pay.c
index 8f248a2..6db69e7 100644
--- a/src/backend/taler-merchant-httpd_pay.c
+++ b/src/backend/taler-merchant-httpd_pay.c
@@ -509,9 +509,9 @@ sign_success_response (struct PayContext *pc)
     GNUNET_CRYPTO_eddsa_sign (&pc->mi->privkey.eddsa_priv,
                               &mps.purpose,
                               &session_sig);
-    json_object_set (resp,
-                     "session_sig",
-                     GNUNET_JSON_from_data_auto (&session_sig));
+    json_object_set_new (resp,
+                         "session_sig",
+                         GNUNET_JSON_from_data_auto (&session_sig));
   }
 
   mret = TMH_RESPONSE_make_json (resp);

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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