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;
 }


--
To view, visit https://gerrit.osmocom.org/c/osmo-upf/+/37824?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: osmo-upf
Gerrit-Branch: master
Gerrit-Change-Id: I2bd2e9c57bf392074eed9628a69eb710d4e459a6
Gerrit-Change-Number: 37824
Gerrit-PatchSet: 1
Gerrit-Owner: neels <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: neels <[email protected]>

Reply via email to