gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-exchange] branch master updated: add missing unlock


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: add missing unlock (on error path that is usually fatal anyway)
Date: Mon, 03 Jun 2019 00:13:50 +0200

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 f2ba3508 add missing unlock (on error path that is usually fatal 
anyway)
f2ba3508 is described below

commit f2ba3508b31b2bfc5a3eb2db56600107fde6849e
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Jun 3 00:13:48 2019 +0200

    add missing unlock (on error path that is usually fatal anyway)
---
 src/exchange/taler-exchange-httpd_keystate.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/exchange/taler-exchange-httpd_keystate.c 
b/src/exchange/taler-exchange-httpd_keystate.c
index a452a124..8b56813e 100644
--- a/src/exchange/taler-exchange-httpd_keystate.c
+++ b/src/exchange/taler-exchange-httpd_keystate.c
@@ -1808,6 +1808,7 @@ TEH_KS_acquire_ (struct GNUNET_TIME_Absolute now,
     /* bump RC by 1 if we released internal_key_state above */
     if (NULL == internal_key_state)
     {
+      GNUNET_assert (0 == pthread_mutex_unlock (&internal_key_state_mutex));
       GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                  "Failed to initialize key state\n");
       return NULL;

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



reply via email to

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