Updating RMR to 4.0.2
[ric-plt/rtmgr.git] / pkg / nbi / control.go
index 8d9e6c4..ccf4e57 100644 (file)
@@ -73,6 +73,7 @@ func (c *Control) controlLoop(sbiEngine sbi.Engine, sdlEngine sdl.Engine, rpeEng
                        err := errors.New("Message Type " + strconv.Itoa(msg.Mtype) + " is discarded")
                        xapp.Logger.Error("Unknown message type: %v", err)
                }
+               xapp.Rmr.Free(msg.Mbuf)
        }
 }