exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit bf92166be3af89313f2e59ca64ecb716c0ca760d
parent 0dee91e014a51a5b66cd1b0a9a7517ac75813eb6
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 10 Apr 2016 02:14:07 +0200

do not clear result until end of iteration over results

Diffstat:
Msrc/exchangedb/plugin_exchangedb_postgres.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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; }