pespin has submitted this change. ( 
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(-)

Approvals:
  daniel: Looks good to me, but someone else must approve
  fixeria: Looks good to me, approved
  Jenkins Builder: Verified




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: merged
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I6a459d9de6e5d1a11abfab2c8db7a6378a532203
Gerrit-Change-Number: 41510
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <[email protected]>
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: lynxis lazus <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to