X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Frlc_dl_ul_inf_ul.c;h=2379c7e42118dd68e19640fd60ab7574c83b0363;hb=refs%2Fchanges%2F35%2F6535%2F5;hp=b97cf15ac7d513be90176b1e9f66854e870f7505;hpb=a31737d4988c5e02d4998c16973b1048fa2be9a4;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/rlc_dl_ul_inf_ul.c b/src/5gnrrlc/rlc_dl_ul_inf_ul.c index b97cf15ac..2379c7e42 100755 --- a/src/5gnrrlc/rlc_dl_ul_inf_ul.c +++ b/src/5gnrrlc/rlc_dl_ul_inf_ul.c @@ -274,15 +274,14 @@ RlcCfgCfmInfo *cfmInfo if(sendRlcUeDeleteRspToDu(cfgCfm->cellId, cfgCfm->ueId, SUCCESSFUL) != ROK) { DU_LOG("ERROR --> RLC_UL: rlcUlUdxCfgCfm(): Failed to send UE delete response "); + RLC_FREE(tRlcCb, cfgCfm, sizeof(RlcCfgCfmInfo)); return RFAILED; } + RLC_FREE(tRlcCb, cfgCfm, sizeof(RlcCfgCfmInfo)); } /* free the memory from DL */ - RLC_FREE_SHRABL_BUF(pst->region, - pst->pool, - cfmInfo, - sizeof(RlcCfgCfmInfo)); + RLC_FREE_SHRABL_BUF(pst->region, pst->pool, cfmInfo, sizeof(RlcCfgCfmInfo)); /* free the cfgInfo that came from LM */ RLC_PST_FREE(pst->region, pst->pool, cfgTmpData->cfgInfo, sizeof(RlcCfgInfo));