summaryrefslogtreecommitdiff
path: root/src/backenddb
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-01-16 12:39:46 +0100
committerChristian Grothoff <christian@grothoff.org>2018-01-16 12:39:46 +0100
commit0d50ba20bb0746e1e33e7e4d5f050110044310c1 (patch)
treefd9118781fa5a28632892bdb2b09aa50db166d1d /src/backenddb
parent55cd81c3d60aaaeeca8eae3825a5f91be1a81a16 (diff)
downloadmerchant-0d50ba20bb0746e1e33e7e4d5f050110044310c1.tar.gz
merchant-0d50ba20bb0746e1e33e7e4d5f050110044310c1.tar.bz2
merchant-0d50ba20bb0746e1e33e7e4d5f050110044310c1.zip
fix a few memory leaks
Diffstat (limited to 'src/backenddb')
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index e5d36330..57f11ec7 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -1115,7 +1115,7 @@ postgres_store_deposit (void *cls,
"Storing payment for h_contract_terms `%s', coin_pub: `%s', amount_with_fee: %s\n",
GNUNET_h2s (h_contract_terms),
TALER_B2S (coin_pub),
- TALER_amount_to_string (amount_with_fee));
+ TALER_amount2s (amount_with_fee));
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Merchant pub is `%s'\n",
TALER_B2S (merchant_pub));