aboutsummaryrefslogtreecommitdiff
path: root/src/datastore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-06-26 21:05:54 +0000
committerChristian Grothoff <christian@grothoff.org>2016-06-26 21:05:54 +0000
commit3d00a970cd7ff12dc20bb8f88171e21846f610e7 (patch)
tree4663b1d0f38aef1814e6364b59e457f90bd638de /src/datastore
parent93cf4031938ca0f3d13ce491ba9be2c77763ffae (diff)
downloadgnunet-3d00a970cd7ff12dc20bb8f88171e21846f610e7.tar.gz
gnunet-3d00a970cd7ff12dc20bb8f88171e21846f610e7.zip
-fix leak
Diffstat (limited to 'src/datastore')
-rw-r--r--src/datastore/datastore_api.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/datastore/datastore_api.c b/src/datastore/datastore_api.c
index 285634759..bf2f0097a 100644
--- a/src/datastore/datastore_api.c
+++ b/src/datastore/datastore_api.c
@@ -267,6 +267,8 @@ free_queue_entry (struct GNUNET_DATASTORE_QueueEntry *qe)
267 h->queue_tail, 267 h->queue_tail,
268 qe); 268 qe);
269 h->queue_size--; 269 h->queue_size--;
270 if (NULL != qe->env)
271 GNUNET_MQ_discard (qe->env);
270 GNUNET_free (qe); 272 GNUNET_free (qe);
271} 273}
272 274