-fix leak
authorChristian Grothoff <christian@grothoff.org>
Fri, 30 Sep 2016 11:33:50 +0000 (11:33 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 30 Sep 2016 11:33:50 +0000 (11:33 +0000)
src/peerstore/gnunet-service-peerstore.c

index 07cf78daccd6a864dbcfaf54bd02efccf475c88f..665e625fd6032f9e90f873003acd3bbaa424c708 100644 (file)
@@ -412,6 +412,7 @@ check_iterate (void *cls,
     PEERSTORE_destroy_record (record);
     return GNUNET_SYSERR;
   }
+  PEERSTORE_destroy_record (record);
   return GNUNET_OK;
 }