gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: -fix minor bugs


From: gnunet
Subject: [taler-merchant] branch master updated: -fix minor bugs
Date: Tue, 07 Jun 2022 15:02:29 +0200

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 5a3926cc -fix minor bugs
5a3926cc is described below

commit 5a3926cc8903d16af5f5a6d46e8d3d5ea47e8a1c
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Jun 7 15:02:27 2022 +0200

    -fix minor bugs
---
 src/lib/merchant_api_tip_pickup2.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/lib/merchant_api_tip_pickup2.c 
b/src/lib/merchant_api_tip_pickup2.c
index cd1a0c83..58e2987d 100644
--- a/src/lib/merchant_api_tip_pickup2.c
+++ b/src/lib/merchant_api_tip_pickup2.c
@@ -304,12 +304,14 @@ TALER_MERCHANT_tip_pickup2 (struct GNUNET_CURL_Context 
*ctx,
     return NULL;
   }
   eh = TALER_MERCHANT_curl_easy_get_ (tpo->url);
-  if (GNUNET_OK != TALER_curl_easy_post (&tpo->post_ctx,
-                                         eh,
-                                         tp_obj))
+  if (GNUNET_OK !=
+      TALER_curl_easy_post (&tpo->post_ctx,
+                            eh,
+                            tp_obj))
   {
     GNUNET_break (0);
     json_decref (tp_obj);
+    curl_easy_cleanup (eh);
     GNUNET_free (tpo->url);
     GNUNET_free (tpo);
     return NULL;

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