gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: fix NPE


From: gnunet
Subject: [taler-merchant] branch master updated: fix NPE
Date: Tue, 03 Mar 2020 12:37:52 +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 9d37275  fix NPE
9d37275 is described below

commit 9d37275ed83e9eafe6bd712b5df058c53d7f83c3
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Mar 3 12:37:50 2020 +0100

    fix NPE
---
 src/lib/merchant_api_pay.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/merchant_api_pay.c b/src/lib/merchant_api_pay.c
index 3af1ab9..1d5abde 100644
--- a/src/lib/merchant_api_pay.c
+++ b/src/lib/merchant_api_pay.c
@@ -918,6 +918,8 @@ TALER_MERCHANT_pay_abort (struct GNUNET_CURL_Context *ctx,
                             NULL,
                             payref_cb,
                             payref_cb_cls);
+  if (NULL == ph)
+    return NULL;
   ph->h_contract_terms = *h_contract;
   return ph;
 }

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



reply via email to

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