diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-10-28 02:15:35 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-10-28 02:15:35 +0200 |
commit | a01dc97b4b9a777a126ec6071c83afbd531a49bc (patch) | |
tree | 9bb8a82a0cc4e39156eafd83a1dda265b2babdc7 /src/util | |
parent | d1e1620dd8362f401339f1e86d873d84ec5a49bf (diff) | |
download | exchange-a01dc97b4b9a777a126ec6071c83afbd531a49bc.tar.xz |
-fix
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/denom.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/util/denom.c b/src/util/denom.c index 1303b9d4a..928c46328 100644 --- a/src/util/denom.c +++ b/src/util/denom.c @@ -462,8 +462,11 @@ TALER_planchet_setup_coin_priv ( void TALER_blinded_planchet_free (struct TALER_BlindedPlanchet *blinded_planchet) { - GNUNET_CRYPTO_blinded_message_decref (blinded_planchet->blinded_message); - blinded_planchet->blinded_message = NULL; + if (NULL != blinded_planchet->blinded_message) + { + GNUNET_CRYPTO_blinded_message_decref (blinded_planchet->blinded_message); + blinded_planchet->blinded_message = NULL; + } } |