neels has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-hnbgw/+/36911?usp=email )

Change subject: fix rate_ctr leak in hnb_persistent_free()
......................................................................

fix rate_ctr leak in hnb_persistent_free()

Change-Id: I14e050bfb91b993f194e3800eacdc0d10f2b1a4e
---
M src/osmo-hnbgw/hnbgw.c
1 file changed, 10 insertions(+), 0 deletions(-)

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




diff --git a/src/osmo-hnbgw/hnbgw.c b/src/osmo-hnbgw/hnbgw.c
index 24d11a5..e8f7de1 100644
--- a/src/osmo-hnbgw/hnbgw.c
+++ b/src/osmo-hnbgw/hnbgw.c
@@ -541,6 +541,7 @@
 void hnb_persistent_free(struct hnb_persistent *hnbp)
 {
        /* FIXME: check if in use? */
+       rate_ctr_group_free(hnbp->ctrs);
        llist_del(&hnbp->list);
        talloc_free(hnbp);
 }

--
To view, visit https://gerrit.osmocom.org/c/osmo-hnbgw/+/36911?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: I14e050bfb91b993f194e3800eacdc0d10f2b1a4e
Gerrit-Change-Number: 36911
Gerrit-PatchSet: 1
Gerrit-Owner: neels <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: neels <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to