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: Moving free below


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: Moving free below
Date: Tue, 11 Jun 2019 21:48:49 +0200

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

marcello pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 45e9d2b  Moving free below
45e9d2b is described below

commit 45e9d2bc921325cd2d9089cf0233028544aaff47
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Jun 11 21:48:43 2019 +0200

    Moving free below
---
 src/backend/taler-merchant-httpd.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/backend/taler-merchant-httpd.c 
b/src/backend/taler-merchant-httpd.c
index 21eb183..2d4148c 100644
--- a/src/backend/taler-merchant-httpd.c
+++ b/src/backend/taler-merchant-httpd.c
@@ -861,7 +861,6 @@ wireformat_iterator_cb (void *cls,
       return;
     }
   }
-  GNUNET_free (fn);
 
   if (GNUNET_OK == GNUNET_CONFIGURATION_get_value_string
     (iic->config,
@@ -878,16 +877,20 @@ wireformat_iterator_cb (void *cls,
                                  "WIRE_FILE_MODE",
                                  "Must be octal number\n");
       iic->ret = GNUNET_SYSERR;
+      GNUNET_free (fn);
       return;
     }
     if (0 != chmod (fn, mode))
     {
       TALER_LOG_ERROR ("chmod failed on %s\n", fn);
       iic->ret = GNUNET_SYSERR;
+      GNUNET_free (fn);
       return;
     }
   }
 
+  GNUNET_free (fn);
+
   if (GNUNET_OK !=
       TALER_JSON_merchant_wire_signature_hash (j,
                                                &h_wire))

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



reply via email to

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