do not clear result until end of iteration over results

This commit is contained in:
Christian Grothoff 2016-04-10 02:14:07 +02:00
parent 0dee91e014
commit bf92166be3

View File

@ -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;
}