Call free_mem_block() after sending F1U packet

This commit is contained in:
Robert Schmidt
2018-10-18 16:47:44 +02:00
parent 5862a10274
commit 86fcea8dd5
@@ -192,6 +192,8 @@ proto_agent_send_rlc_data_req(const protocol_ctxt_t* const ctxt_pP,
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:
LOG_E(PROTO_AGENT, "PROTO_AGENT there was an error\n"); LOG_E(PROTO_AGENT, "PROTO_AGENT there was an error\n");
@@ -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: