aboutsummaryrefslogtreecommitdiff
path: root/src/peerstore/plugin_peerstore_flat.c
diff options
context:
space:
mode:
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)
460 460
461 } 461 }
462 } 462 }
463 GNUNET_free (buffer);
463 return GNUNET_OK; 464 return GNUNET_OK;
464} 465}
465 466
@@ -500,6 +501,7 @@ store_and_free_entries (void *cls,
500 GNUNET_free (entry->value); 501 GNUNET_free (entry->value);
501 GNUNET_free (entry->expiry); 502 GNUNET_free (entry->expiry);
502 GNUNET_free (entry); 503 GNUNET_free (entry);
504 GNUNET_free (line);
503 return GNUNET_YES; 505 return GNUNET_YES;
504 506
505} 507}