Skip to content
Snippets Groups Projects
Commit e0f4ee18 authored by Roman Khlopkov's avatar Roman Khlopkov 🔜
Browse files

Merge branch 'hotfix-9159' into 'release-5.2'

hotfix-9159

See merge request !1169
parents 0bd29dbf 423734d9
No related branches found
No related tags found
1 merge request!1169hotfix-9159
Pipeline #28246 passed with stage
in 8 minutes and 33 seconds
...@@ -96,6 +96,9 @@ dap_chain_net_srv_usage_t* dap_chain_net_srv_usage_add (dap_chain_net_srv_stream ...@@ -96,6 +96,9 @@ dap_chain_net_srv_usage_t* dap_chain_net_srv_usage_add (dap_chain_net_srv_stream
*/ */
void dap_chain_net_srv_usage_delete (dap_chain_net_srv_stream_session_t * a_srv_session) void dap_chain_net_srv_usage_delete (dap_chain_net_srv_stream_session_t * a_srv_session)
{ {
if (!a_srv_session || !a_srv_session->usage_active)
return;
if ( a_srv_session->usage_active->receipt ) if ( a_srv_session->usage_active->receipt )
DAP_DELETE( a_srv_session->usage_active->receipt ); DAP_DELETE( a_srv_session->usage_active->receipt );
if ( a_srv_session->usage_active->receipt_next ) if ( a_srv_session->usage_active->receipt_next )
......
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