[PATCH 13/13] ipaccess: fix leak of IPA control messages in the BTS side

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

pablo at gnumonks.org pablo at gnumonks.org
Thu Aug 23 22:45:02 UTC 2012


From: Pablo Neira Ayuso <pablo at gnumonks.org>

---
 src/input/ipaccess.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c
index 6475007..265c982 100644
--- a/src/input/ipaccess.c
+++ b/src/input/ipaccess.c
@@ -856,6 +856,7 @@ static int ipaccess_bts_cb(struct ipa_client_conn *link, struct msgb *msg)
 			}
 			msgb_free(rmsg);
 		}
+		msgb_free(msg);
 		return ret;
 	} else if (link->port == IPA_TCP_PORT_OML)
 		e1i_ts = &link->line->ts[0];
-- 
1.7.10.4





More information about the OpenBSC mailing list