Fixed memory leaks

This commit is contained in:
John Jones 2016-12-01 13:08:30 -05:00
parent a4b6a14ea5
commit 5b7f89bdf1
14 changed files with 132 additions and 52 deletions

View file

@ -50,6 +50,6 @@ int ipfs_blockstore_put(struct Block* block, struct FSRepo* fs_repo) {
return 0;
// send to Put with key
fs_repo->config->datastore->datastore_put(key, block, fs_repo->config->datastore);
fs_repo->config->datastore->datastore_put(key, key_length, block, fs_repo->config->datastore);
return 0;
}