Skip to content
Snippets Groups Projects
Commit 5ed6637b authored by alexander.lysikov's avatar alexander.lysikov
Browse files

fixed memory leaks in dap_chain_wallet_close()

parent 907fe31b
No related branches found
No related tags found
1 merge request!4fixed memory leaks in dap_chain_wallet_close()
......@@ -150,6 +150,9 @@ void dap_chain_wallet_close( dap_chain_wallet_t * a_wallet)
if(a_wallet->name)
DAP_DELETE (a_wallet->name);
// TODO Make clean struct dap_chain_wallet_internal_t (certs, addr)
DAP_DELETE(l_wallet_internal->addr);
DAP_DELETE(l_wallet_internal->file_name);
DAP_DELETE(l_wallet_internal->certs);
DAP_DELETE(l_wallet_internal);
DAP_DELETE(a_wallet);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment