summaryrefslogtreecommitdiff
path: root/src/peerstore/plugin_peerstore_flat.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2016-10-10 08:27:44 +0000
committerMartin Schanzenbach <mschanzenbach@posteo.de>2016-10-10 08:27:44 +0000
commit46eac4f72e37cdd35d5b49a83c084a03e0d4a565 (patch)
tree5c50b2a9233039af641d2b56a73128eb7d3ad4ff /src/peerstore/plugin_peerstore_flat.c
parentb112ce5317f3ae6eb284c85acb1f67c46d3abbc7 (diff)
-fix
Diffstat (limited to 'src/peerstore/plugin_peerstore_flat.c')
-rw-r--r--src/peerstore/plugin_peerstore_flat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/peerstore/plugin_peerstore_flat.c b/src/peerstore/plugin_peerstore_flat.c
index f5943e509..2b90719d9 100644
--- a/src/peerstore/plugin_peerstore_flat.c
+++ b/src/peerstore/plugin_peerstore_flat.c
@@ -460,6 +460,7 @@ database_setup (struct Plugin *plugin)
}
}
+ GNUNET_free (buffer);
return GNUNET_OK;
}
@@ -500,6 +501,7 @@ store_and_free_entries (void *cls,
GNUNET_free (entry->value);
GNUNET_free (entry->expiry);
GNUNET_free (entry);
+ GNUNET_free (line);
return GNUNET_YES;
}