Memory handling fixes
[o-du/l2.git] / src / 5gnrrlc / rlc_dl_msg_router.c
index 63c958b..258e2e6 100755 (executable)
@@ -172,7 +172,7 @@ Reason reason               /* reason */
    {
       Buffer *mBuf = NULL;
       Buffer *bufPtr = NULL;
-      SGetMsg(1, 0 , &mBuf);
+      ODU_GET_MSG_BUF(1, 0 , &mBuf);
       ssGetDBufOfSize(1 , 1800, &bufPtr);
       SUpdMsg(mBuf, bufPtr, 0);
       rlcAmmStaPduList[i] = (uint32_t)mBuf;