aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gb/gprs_ns2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gb/gprs_ns2.c b/src/gb/gprs_ns2.c
index 86813f35..7a153527 100644
--- a/src/gb/gprs_ns2.c
+++ b/src/gb/gprs_ns2.c
@@ -1001,6 +1001,8 @@ void gprs_ns2_free(struct gprs_ns2_inst *nsi)
llist_for_each_entry_safe(bind, tbind, &nsi->binding, list) {
gprs_ns2_free_bind(bind);
}
+
+ talloc_free(nsi);
}
/*! Configure whether a NS Instance should dynamically create NSEs based on incoming traffic.