summaryrefslogtreecommitdiff
path: root/src/exchangedb
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchangedb')
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index c38c0827f..de8a3f247 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -2404,10 +2404,10 @@ postgres_iterate_matching_deposits (void *cls,
wire_deadline,
NULL);
GNUNET_PQ_cleanup_result (rs);
- PQclear (result);
if (GNUNET_OK != ret)
break;
}
+ PQclear (result);
return i;
}