Call free_mem_block() after sending F1U packet
This commit is contained in:
@@ -191,6 +191,8 @@ proto_agent_send_rlc_data_req(const protocol_ctxt_t* const ctxt_pP,
|
|||||||
if (!msg) goto error;
|
if (!msg) goto error;
|
||||||
|
|
||||||
proto_agent_async_msg_send((void *)msg, (int) msgsize, 1, proto_agent[mod_id].channel->channel_info);
|
proto_agent_async_msg_send((void *)msg, (int) msgsize, 1, proto_agent[mod_id].channel->channel_info);
|
||||||
|
|
||||||
|
free_mem_block(sdu_pP, __func__);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
error:
|
error:
|
||||||
@@ -229,6 +231,8 @@ proto_agent_send_pdcp_data_ind(const protocol_ctxt_t* const ctxt_pP, const srb_f
|
|||||||
|
|
||||||
proto_agent_async_msg_send((void *)msg, (int) msgsize, 1, proto_agent[mod_id].channel->channel_info);
|
proto_agent_async_msg_send((void *)msg, (int) msgsize, 1, proto_agent[mod_id].channel->channel_info);
|
||||||
|
|
||||||
|
free_mem_block(sdu_pP, __func__);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
|||||||
Reference in New Issue
Block a user