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/gerrit-log@lists.osmocom.org/.
lynxis lazus gerrit-no-reply at lists.osmocom.orglynxis lazus has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/20531 )
Change subject: gprs_ns2: gprs_ns2_free(): add missing talloc_free
......................................................................
gprs_ns2: gprs_ns2_free(): add missing talloc_free
It clean up all the space except the nsi itself.
Change-Id: Ia3fbe5d679d0af75b2b0db020f1eb082d629cf50
---
M src/gb/gprs_ns2.c
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
Vadim Yanitskiy: Looks good to me, approved
diff --git a/src/gb/gprs_ns2.c b/src/gb/gprs_ns2.c
index 86813f3..7a15352 100644
--- a/src/gb/gprs_ns2.c
+++ b/src/gb/gprs_ns2.c
@@ -1001,6 +1001,8 @@
llist_for_each_entry_safe(bind, tbind, &nsi->binding, list) {
gprs_ns2_free_bind(bind);
}
+
+ talloc_free(nsi);
}
/*! Configure whether a NS Instance should dynamically create NSEs based on incoming traffic.
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/20531
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ia3fbe5d679d0af75b2b0db020f1eb082d629cf50
Gerrit-Change-Number: 20531
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Vadim Yanitskiy <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201010/4c6fc253/attachment.htm>