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); }