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,
|
wire_deadline,
|
||||||
NULL);
|
NULL);
|
||||||
GNUNET_PQ_cleanup_result (rs);
|
GNUNET_PQ_cleanup_result (rs);
|
||||||
PQclear (result);
|
|
||||||
if (GNUNET_OK != ret)
|
if (GNUNET_OK != ret)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
PQclear (result);
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user