X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Fmac_stop_ind.c;h=a37bb9c164af1fe874d25ae3ecc2bda8c7c5af72;hb=762bc0a2a50222d74b01d9a88071bfaf5d90979b;hp=124565f4dc537d43b57f34209063602a955e9437;hpb=2193e4cf01012809495be026097e8d7eacb9f0ac;p=o-du%2Fl2.git diff --git a/src/5gnrmac/mac_stop_ind.c b/src/5gnrmac/mac_stop_ind.c index 124565f4d..a37bb9c16 100644 --- a/src/5gnrmac/mac_stop_ind.c +++ b/src/5gnrmac/mac_stop_ind.c @@ -82,10 +82,11 @@ uint8_t sendStopIndToDuApp(uint16_t cellId) * -# ROK * -# RFAILED ******************************************************************/ -uint8_t fapiMacStopInd(Pst *pst, uint16_t cellId) +uint8_t fapiMacStopInd(Pst *pst, uint16_t *cellId) { uint8_t ret = ROK; - ret = sendStopIndToDuApp(cellId); + ret = sendStopIndToDuApp(*cellId); + MAC_FREE_SHRABL_BUF(pst->region, pst->pool, cellId, sizeof(uint16_t)); return ret; }