Skip to content
Snippets Groups Projects
Commit bf03abd5 authored by oljas.jarasbaev's avatar oljas.jarasbaev
Browse files

[*] fix leak

parent b3e7887f
No related branches found
No related tags found
1 merge request!1730Feature 12444
Pipeline #42296 failed with stage
in 9 minutes and 51 seconds
......@@ -363,7 +363,9 @@ const char* dap_chain_wallet_get_path(dap_config_t * a_config)
return log_it(L_WARNING, "No path to wallet's store has been defined"), l_cp;
return strncpy(s_wallets_path, l_cp, sizeof(s_wallets_path) - 1 ); /* Make local copy , return it to caller */
strncpy(s_wallets_path, l_cp, sizeof(s_wallets_path) - 1 ); /* Make local copy , return it to caller */
DAP_DEL_Z(l_cp);
return s_wallets_path;
}
/**
......
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