summaryrefslogtreecommitdiff
path: root/src/pq/pq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pq/pq.c')
-rw-r--r--src/pq/pq.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/pq/pq.c b/src/pq/pq.c
index 37d067edd..43186c41e 100644
--- a/src/pq/pq.c
+++ b/src/pq/pq.c
@@ -151,11 +151,9 @@ GNUNET_PQ_extract_result (PGresult *result,
151 &spec->dst_size, 151 &spec->dst_size,
152 spec->dst); 152 spec->dst);
153 if (GNUNET_SYSERR == ret) 153 if (GNUNET_SYSERR == ret)
154 return GNUNET_SYSERR;
155 if (GNUNET_NO == ret)
156 { 154 {
157 had_null = GNUNET_YES; 155 GNUNET_PQ_cleanup_result (rs);
158 continue; 156 return GNUNET_SYSERR;
159 } 157 }
160 if (NULL != spec->result_size) 158 if (NULL != spec->result_size)
161 *spec->result_size = spec->dst_size; 159 *spec->result_size = spec->dst_size;