aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/datastore_api.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2021-05-15 18:46:35 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2021-05-15 18:46:35 +0200
commit168e501991b9506b588e1180527dad9c9662ae0c (patch)
treed97f3376663571e297a2ef81ddc7d32a37cbfd77 /src/datastore/datastore_api.c
parent60635a4887062fbcea6b5a8635a73bdadc20d5bc (diff)
downloadgnunet-168e501991b9506b588e1180527dad9c9662ae0c.tar.gz
gnunet-168e501991b9506b588e1180527dad9c9662ae0c.zip
-coverity: use after free
Diffstat (limited to 'src/datastore/datastore_api.c')
-rw-r--r--src/datastore/datastore_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datastore/datastore_api.c b/src/datastore/datastore_api.c
index d658b9c85..cb21c9308 100644
--- a/src/datastore/datastore_api.c
+++ b/src/datastore/datastore_api.c
@@ -1430,7 +1430,7 @@ GNUNET_DATASTORE_get_key (struct GNUNET_DATASTORE_Handle *h,
1430 { 1430 {
1431 LOG (GNUNET_ERROR_TYPE_DEBUG, 1431 LOG (GNUNET_ERROR_TYPE_DEBUG,
1432 "Could not queue request for `%s'\n", 1432 "Could not queue request for `%s'\n",
1433 GNUNET_h2s (key)); 1433 (NULL == key) ? "NULL" : GNUNET_h2s (key));
1434 return NULL; 1434 return NULL;
1435 } 1435 }
1436#if INSANE_STATISTICS 1436#if INSANE_STATISTICS