aboutsummaryrefslogtreecommitdiff
path: root/src/util/crypto_helper_denom.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-20 17:10:09 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-20 17:10:09 +0100
commit699916056b7aae5f8afda12968e0046e9cc7003e (patch)
tree03a0e11b0f7575026d1c9b4096c00b90fcc1d7cb /src/util/crypto_helper_denom.c
parent6a73629aee0f04c0ab9c26329250299d3457c97e (diff)
misc doxygen fixes
Diffstat (limited to 'src/util/crypto_helper_denom.c')
-rw-r--r--src/util/crypto_helper_denom.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/crypto_helper_denom.c b/src/util/crypto_helper_denom.c
index c61a46f1d..4618383a9 100644
--- a/src/util/crypto_helper_denom.c
+++ b/src/util/crypto_helper_denom.c
@@ -663,7 +663,8 @@ void
TALER_CRYPTO_helper_denom_disconnect (
struct TALER_CRYPTO_DenominationHelper *dh)
{
- do_disconnect (dh);
+ if (-1 != dh->sock)
+ do_disconnect (dh);
GNUNET_free (dh->template);
GNUNET_free (dh);
}