Change in ...osmo-remsim[master]: remsim_client: Fix memory leak receiving RSPRO messages

laforge gerrit-no-reply at lists.osmocom.org
Thu Jul 18 16:56:00 UTC 2019


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-remsim/+/14829


Change subject: remsim_client: Fix memory leak receiving RSPRO messages
......................................................................

remsim_client: Fix memory leak receiving RSPRO messages

Change-Id: Ic3b5b7b03d557557a245fcd5c31bd687e11c7477
Closes: OS#4119
---
M src/simtrace2-remsim_client.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/29/14829/1

diff --git a/src/simtrace2-remsim_client.c b/src/simtrace2-remsim_client.c
index d30965a..c770641 100644
--- a/src/simtrace2-remsim_client.c
+++ b/src/simtrace2-remsim_client.c
@@ -627,7 +627,7 @@
 	LOGPFSML(bc->bankd_fi, LOGL_DEBUG, "Received RSPRO %s\n", msgb_hexdump(msg));
 
 	rc = bankd_handle_msg(bc, msg);
-
+	msgb_free(msg);
 	return rc;
 
 invalid:

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/14829
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: Ic3b5b7b03d557557a245fcd5c31bd687e11c7477
Gerrit-Change-Number: 14829
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at gnumonks.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190718/73839eb8/attachment.html>


More information about the gerrit-log mailing list