pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmo-sigtran/+/41510?usp=email )
Change subject: ss7_as_vty: Fix memleak of AS name
......................................................................
ss7_as_vty: Fix memleak of AS name
That's already allocated in ss7_as_alloc().
Change-Id: I6a459d9de6e5d1a11abfab2c8db7a6378a532203
---
M src/ss7_as_vty.c
1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran
refs/changes/10/41510/1
diff --git a/src/ss7_as_vty.c b/src/ss7_as_vty.c
index 6ce57d4..87ea26b 100644
--- a/src/ss7_as_vty.c
+++ b/src/ss7_as_vty.c
@@ -75,7 +75,6 @@
return CMD_WARNING;
}
- as->cfg.name = talloc_strdup(as, name);
vty->node = L_CS7_AS_NODE;
vty->index = as;
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/41510?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I6a459d9de6e5d1a11abfab2c8db7a6378a532203
Gerrit-Change-Number: 41510
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>