Fixed memory leaks
This commit is contained in:
parent
a4b6a14ea5
commit
5b7f89bdf1
14 changed files with 132 additions and 52 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue