summaryrefslogtreecommitdiff
path: root/src/backenddb/plugin_merchantdb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-05-01 23:11:11 +0200
committerChristian Grothoff <christian@grothoff.org>2023-05-01 23:11:11 +0200
commita03ce46d2a3a1448b20b0f3cb2dbabe941e7b826 (patch)
treedeab530d9de984f79b76531c9547e4df9a4f0df5 /src/backenddb/plugin_merchantdb_postgres.c
parent3db683d6e794c72448824d1e4ed75d6636bf3b22 (diff)
downloadmerchant-a03ce46d2a3a1448b20b0f3cb2dbabe941e7b826.tar.gz
merchant-a03ce46d2a3a1448b20b0f3cb2dbabe941e7b826.tar.bz2
merchant-a03ce46d2a3a1448b20b0f3cb2dbabe941e7b826.zip
fix various memory-use issues
Diffstat (limited to 'src/backenddb/plugin_merchantdb_postgres.c')
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index baaad568..c7ffe2a5 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -5336,7 +5336,9 @@ lookup_reserve_for_tip_cb (void *cls,
continue;
}
if ( (! GNUNET_TIME_absolute_is_never (lac->expiration.abs_time)) &&
- GNUNET_TIME_timestamp_cmp (expiration, >, lac->expiration) &&
+ GNUNET_TIME_timestamp_cmp (expiration,
+ >,
+ lac->expiration) &&
GNUNET_TIME_relative_cmp (
GNUNET_TIME_absolute_get_remaining (lac->expiration.abs_time),
>,