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 uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/22796 )
Change subject: gprs_ns2_vty: fix memory leak of vty_binds
......................................................................
gprs_ns2_vty: fix memory leak of vty_binds
They never got freed, only removed from the vty_bind queue.
Change-Id: I100897c32dc152f9acbb322782fae49b1f0bc030
---
M src/gb/gprs_ns2_vty.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/96/22796/1
diff --git a/src/gb/gprs_ns2_vty.c b/src/gb/gprs_ns2_vty.c
index 978c73b..3646080 100644
--- a/src/gb/gprs_ns2_vty.c
+++ b/src/gb/gprs_ns2_vty.c
@@ -128,6 +128,7 @@
return;
llist_del(&vbind->list);
+ talloc_free(vbind);
}
static struct cmd_node ns_node = {
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/22796
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I100897c32dc152f9acbb322782fae49b1f0bc030
Gerrit-Change-Number: 22796
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210209/ef419cf6/attachment.htm>