Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[Epic-ID: ODUHIGH-464][Task-ID: ODUHIGH-478] WG8 Alignment | The First
[o-du/l2.git]
/
src
/
5gnrrlc
/
rlc_mgr.c
diff --git
a/src/5gnrrlc/rlc_mgr.c
b/src/5gnrrlc/rlc_mgr.c
index
3cfb3b7
..
60391ef
100644
(file)
--- a/
src/5gnrrlc/rlc_mgr.c
+++ b/
src/5gnrrlc/rlc_mgr.c
@@
-65,8
+65,10
@@
uint8_t SendRlcUeCfgRspToDu(Pst *pst, RlcCfgCfmInfo *cfgRsp)
{
/* jump to specific primitive depending on configured selector */
uint8_t ret = ROK;
{
/* jump to specific primitive depending on configured selector */
uint8_t ret = ROK;
+ RlcCb *gCb;
RlcUeCfgRsp *ueRsp = NULLP;
RlcUeCfgRsp *ueRsp = NULLP;
+ gCb = RLC_GET_RLCCB(pst->srcInst);
RLC_ALLOC_SHRABL_BUF(pst->region, pst->pool, ueRsp, sizeof(RlcUeCfgRsp));
if(!ueRsp)
{
RLC_ALLOC_SHRABL_BUF(pst->region, pst->pool, ueRsp, sizeof(RlcUeCfgRsp));
if(!ueRsp)
{
@@
-92,6
+94,7
@@
uint8_t SendRlcUeCfgRspToDu(Pst *pst, RlcCfgCfmInfo *cfgRsp)
RLC_FREE_SHRABL_BUF(pst->region, pst->pool, ueRsp, sizeof(RlcUeCfgRsp));
}
}
RLC_FREE_SHRABL_BUF(pst->region, pst->pool, ueRsp, sizeof(RlcUeCfgRsp));
}
}
+ RLC_FREE(gCb, cfgRsp, sizeof(RlcCfgCfmInfo));
return ret;
} /* end of SendRlcUeCfgRspToDu */
return ret;
} /* end of SendRlcUeCfgRspToDu */