X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Fdu_app_mac_inf.c;h=05b5662b4692c142b424a6c9413941f4e53709e6;hb=1bed59663a087c96c3ebb984ee19be92e7f4ecc5;hp=51c46c819e48dab7e9faa8c45ff3701a9e3202f2;hpb=18376996c17ece8306c1fe9539a00010bea607d5;p=o-du%2Fl2.git diff --git a/src/cm/du_app_mac_inf.c b/src/cm/du_app_mac_inf.c index 51c46c819..05b5662b4 100644 --- a/src/cm/du_app_mac_inf.c +++ b/src/cm/du_app_mac_inf.c @@ -35,6 +35,7 @@ #include "du_cfg.h" #include "du_app_mac_inf.h" +#include "cm.h" /************************************************************************** * @brief Function to pack Loose Coupled @@ -390,7 +391,7 @@ uint16_t packMacSlotInd(Pst *pst, SlotInfo *slotInfo ) CMCHKPK(SPkU16, slotInfo->sfn, mBuf); CMCHKPK(SPkU16, slotInfo->slot, mBuf); - SPutStaticBuffer(pst->region, pst->pool, slotInfo, sizeof(SlotInfo), 0); + CM_FREE_SHRABL_BUF(pst->region, pst->pool, slotInfo, sizeof(SlotInfo)); slotInfo = NULL; } else if(pst->selector == DU_SELECTOR_LWLC)