neels submitted this change.
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(-)
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;
}
To view, visit change 37824. To unsubscribe, or for help writing mail filters, visit settings.