diff --git a/modules/type/blocks/dap_chain_block_chunk.c b/modules/type/blocks/dap_chain_block_chunk.c index c27c56fe0a4fd0c245e98ec279e1be8e0caea73f..7cbab5f9a2e932d905155de64b6aed18aa3e47ab 100644 --- a/modules/type/blocks/dap_chain_block_chunk.c +++ b/modules/type/blocks/dap_chain_block_chunk.c @@ -179,6 +179,7 @@ void dap_chain_block_chunk_delete( dap_chain_block_chunk_t * a_chunk) dap_chain_block_cache_hash_t * l_cache_hash = NULL, *l_tmp = NULL; HASH_ITER(hh, a_chunk->block_cache_hash, l_cache_hash, l_tmp){ HASH_DEL(a_chunk->block_cache_hash, l_cache_hash); + DAP_DELETE(l_cache_hash); } DAP_DELETE(a_chunk); }