neels submitted this change.
fix rate_ctr leak in hnb_persistent_free()
Change-Id: I14e050bfb91b993f194e3800eacdc0d10f2b1a4e
---
M src/osmo-hnbgw/hnbgw.c
1 file changed, 10 insertions(+), 0 deletions(-)
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 change 36911. To unsubscribe, or for help writing mail filters, visit settings.