Commit c82eab70 authored by Robert Schmidt's avatar Robert Schmidt

don't deallocate tx_data_request: avoid use-after-free, memleak

parent ebeffd4b
......@@ -1020,7 +1020,7 @@ int pnf_p7_slot_ind(pnf_p7_t* pnf_p7, uint16_t phy_id, uint16_t sfn, uint16_t sl
if(tx_slot_buffer->tx_data_req != 0)
{
deallocate_nfapi_tx_data_request(tx_slot_buffer->tx_data_req, pnf_p7);
//deallocate_nfapi_tx_data_request(tx_slot_buffer->tx_data_req, pnf_p7);
tx_slot_buffer->tx_data_req = 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment