aboutsummaryrefslogtreecommitdiff
path: root/src/peerstore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-09-30 11:33:50 +0000
committerChristian Grothoff <christian@grothoff.org>2016-09-30 11:33:50 +0000
commitb5af62e0dff6b748db0c4da373b926451b45055f (patch)
tree8ef92d5964efa75701fb9484937cc60245ce2e4e /src/peerstore
parent3c30172adc85b322d08496adba7f46d95bafe9a3 (diff)
-fix leak
Diffstat (limited to 'src/peerstore')
-rw-r--r--src/peerstore/gnunet-service-peerstore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/peerstore/gnunet-service-peerstore.c b/src/peerstore/gnunet-service-peerstore.c
index 07cf78dacc..665e625fd6 100644
--- a/src/peerstore/gnunet-service-peerstore.c
+++ b/src/peerstore/gnunet-service-peerstore.c
@@ -412,6 +412,7 @@ check_iterate (void *cls,
PEERSTORE_destroy_record (record);
return GNUNET_SYSERR;
}
+ PEERSTORE_destroy_record (record);
return GNUNET_OK;
}