X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fdu_app%2Fdu_e2ap_msg_hdl.c;h=0915041c5acdf3c0d1dbf05afa758753cce8de6b;hb=49856df248fd976b4a9882ca4e650fc0bc3e4ee3;hp=bfd29e8dd07f80e1eeb05c23528c943735e6fedc;hpb=df97420828852456256f46cfb7b921c12bd9285e;p=o-du%2Fl2.git diff --git a/src/du_app/du_e2ap_msg_hdl.c b/src/du_app/du_e2ap_msg_hdl.c index bfd29e8dd..0915041c5 100644 --- a/src/du_app/du_e2ap_msg_hdl.c +++ b/src/du_app/du_e2ap_msg_hdl.c @@ -62,6 +62,7 @@ #include "E2SM-KPM-IndicationHeader.h" #include "E2SM-KPM-IndicationHeader-Format1.h" #include "LabelInfoItem.h" +extern DuCb duCb; /******************************************************************* * @@ -1416,8 +1417,10 @@ void freeE2smKpmRanFunctionDefinition(E2SM_KPM_RANfunction_Description_t *ranFun DU_FREE(measInfoList->measName.buf, measInfoList->measName.size); DU_FREE(measInfoList,sizeof(MeasurementInfo_Action_Item_t)); } + DU_FREE(measInfoList, sizeof(MeasurementInfo_Action_Item_t)); } - DU_FREE(measInfoList,ricReportStyle->list.array[reportStyleIdx]->measInfo_Action_List.list.size); + DU_FREE(ricReportStyle->list.array[reportStyleIdx]->measInfo_Action_List.list.array\ + ,ricReportStyle->list.array[reportStyleIdx]->measInfo_Action_List.list.size); } DU_FREE(ricReportStyle->list.array[reportStyleIdx], sizeof(RIC_ReportStyle_Item_t)); }