aboutsummaryrefslogtreecommitdiff
path: root/src/pq/pq_result_helper.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2022-03-27 15:35:14 +0200
committerChristian Grothoff <grothoff@gnunet.org>2022-03-30 10:29:16 +0200
commitedf6f59fac12cd6f7d0a14ecf2a47ab82a8beb17 (patch)
treeec0aef032f86628831a8c430dcc1655e9b83b4ca /src/pq/pq_result_helper.c
parent4e5747f9a58c382c3fb82de4084b08bc7b5120d6 (diff)
downloadgnunet-edf6f59fac12cd6f7d0a14ecf2a47ab82a8beb17.tar.gz
gnunet-edf6f59fac12cd6f7d0a14ecf2a47ab82a8beb17.zip
-logging, minor memory leak fix
Diffstat (limited to 'src/pq/pq_result_helper.c')
-rw-r--r--src/pq/pq_result_helper.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pq/pq_result_helper.c b/src/pq/pq_result_helper.c
index 2c11f5202..f3d246c36 100644
--- a/src/pq/pq_result_helper.c
+++ b/src/pq/pq_result_helper.c
@@ -1086,6 +1086,12 @@ extract_uint64 (void *cls,
1086 fnum)) 1086 fnum))
1087 { 1087 {
1088 GNUNET_break (0); 1088 GNUNET_break (0);
1089 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
1090 "Got length %u for field `%s'\n",
1091 PQgetlength (result,
1092 row,
1093 fnum),
1094 fname);
1089 return GNUNET_SYSERR; 1095 return GNUNET_SYSERR;
1090 } 1096 }
1091 res = (uint64_t *) PQgetvalue (result, 1097 res = (uint64_t *) PQgetvalue (result,