diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-11-25 15:38:58 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-11-25 15:38:58 +0100 |
commit | f22401750505d281a092034342058fc588b62ea0 (patch) | |
tree | 8d3136b8d2f9cadadf5a552a3af21a1e26114590 /src/exchangedb | |
parent | 85aa6d17c727a5899490aa82b0ece9ac95972c66 (diff) | |
download | exchange-f22401750505d281a092034342058fc588b62ea0.tar.xz |
fix a few more leaks
Diffstat (limited to 'src/exchangedb')
-rw-r--r-- | src/exchangedb/plugin_exchangedb_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exchangedb/plugin_exchangedb_common.c b/src/exchangedb/plugin_exchangedb_common.c index 8344974b4..26515670a 100644 --- a/src/exchangedb/plugin_exchangedb_common.c +++ b/src/exchangedb/plugin_exchangedb_common.c @@ -90,7 +90,8 @@ common_free_coin_transaction_list (void *cls, switch (list->type) { case TALER_EXCHANGEDB_TT_DEPOSIT: - GNUNET_free_non_null (list->details.deposit->receiver_wire_account); + if (NULL != list->details.deposit->receiver_wire_account) + json_decref (list->details.deposit->receiver_wire_account); if (NULL != list->details.deposit->coin.denom_pub.rsa_public_key) GNUNET_CRYPTO_rsa_public_key_free (list->details.deposit->coin.denom_pub.rsa_public_key); if (NULL != list->details.deposit->coin.denom_sig.rsa_signature) |