X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fdu_app%2Fdu_msg_hdl.c;h=a0f040e47761f8f7a58d1a4c0fd55dc756a92bb5;hb=069ae37558afd5aee2d1072bbf5b517cf665bdd8;hp=0e61f39f1792266059414a51dd684181b597fc82;hpb=8b3c1a54b33c87e09512690649ed24775f7a5508;p=o-du%2Fl2.git diff --git a/src/du_app/du_msg_hdl.c b/src/du_app/du_msg_hdl.c index 0e61f39f1..a0f040e47 100644 --- a/src/du_app/du_msg_hdl.c +++ b/src/du_app/du_msg_hdl.c @@ -1666,7 +1666,10 @@ uint16_t duHandleSlotInd(Pst *pst, SlotInfo *slotInfo) #ifdef EGTP_TEST duSendEgtpSlotInd(); #endif - DU_FREE_MEM(MAC_MEM_REGION, pst->pool, slotInfo, sizeof(SlotInfo)); + + if((pst->selector == DU_SELECTOR_LWLC) || (pst->selector == DU_SELECTOR_TC)) + DU_FREE_SHRABL_BUF(MAC_MEM_REGION, pst->pool, slotInfo, sizeof(SlotInfo)); + return ROK; }