do not clear result until end of iteration over results
This commit is contained in:
parent
0dee91e014
commit
bf92166be3
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user