Removing free of unallocated memory
This commit is contained in:
@@ -823,12 +823,6 @@ void vnf_handle_rx_ulsch_indication(void *pRecvMsg, int recvMsgLen, vnf_p7_t* vn
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(ind.rx_indication_body.number_of_pdus <= NFAPI_RX_IND_MAX_PDU);
|
|
||||||
uint16_t i = 0;
|
|
||||||
for(i = 0; i < ind.rx_indication_body.number_of_pdus; ++i)
|
|
||||||
{
|
|
||||||
vnf_p7_codec_free(vnf_p7, ind.rx_indication_body.rx_pdu_list[i].rx_ind_data);
|
|
||||||
}
|
|
||||||
vnf_p7_codec_free(vnf_p7, ind.rx_indication_body.rx_pdu_list);
|
vnf_p7_codec_free(vnf_p7, ind.rx_indication_body.rx_pdu_list);
|
||||||
vnf_p7_codec_free(vnf_p7, ind.vendor_extension);
|
vnf_p7_codec_free(vnf_p7, ind.vendor_extension);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user