diff options
| author | Christian Grothoff <christian@grothoff.org> | 2016-04-10 02:14:07 +0200 |
|---|---|---|
| committer | Christian Grothoff <christian@grothoff.org> | 2016-04-10 02:14:07 +0200 |
| commit | bf92166be3af89313f2e59ca64ecb716c0ca760d (patch) | |
| tree | f5ea026eb4296dc4a9bd807fc38706038b8e7766 /src | |
| parent | 0dee91e014a51a5b66cd1b0a9a7517ac75813eb6 (diff) | |
do not clear result until end of iteration over results
Diffstat (limited to 'src')
| -rw-r--r-- | src/exchangedb/plugin_exchangedb_postgres.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index c38c0827..de8a3f24 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; } |
