aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/lapd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/lapd.c')
-rw-r--r--src/input/lapd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/input/lapd.c b/src/input/lapd.c
index 0287e14..d94af58 100644
--- a/src/input/lapd.c
+++ b/src/input/lapd.c
@@ -730,3 +730,10 @@ struct lapd_instance *lapd_instance_alloc(int network_side,
return li;
}
+
+void lapd_instance_free(struct lapd_instance *li)
+{
+ /* tei and sapis are allocated hierarchically of the lapd
+ * instance, so one free is sufficient here */
+ talloc_free(li);
+}