neels has submitted this change. ( https://gerrit.osmocom.org/c/osmo-upf/+/37824?usp=email )
Change subject: fix msgb memleak on GTP echo response ......................................................................
fix msgb memleak on GTP echo response
Change-Id: I2bd2e9c57bf392074eed9628a69eb710d4e459a6 --- M src/osmo-upf/upf_gtpu_echo.c 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: fixeria: Looks good to me, approved laforge: Looks good to me, but someone else must approve Jenkins Builder: Verified
diff --git a/src/osmo-upf/upf_gtpu_echo.c b/src/osmo-upf/upf_gtpu_echo.c index b251a94..0d93299 100644 --- a/src/osmo-upf/upf_gtpu_echo.c +++ b/src/osmo-upf/upf_gtpu_echo.c @@ -94,6 +94,7 @@ LOG_GTP_DEV(dev, LOGL_ERROR, "GTP1-U sendto(len=%d, to=%s): %s\n", msgb_length(msg), osmo_sockaddr_to_str(remote), strerror(err)); } + msgb_free(msg); return rc; }