summaryrefslogtreecommitdiffhomepage
path: root/src/loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/loop.c')
-rw-r--r--src/loop.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/loop.c b/src/loop.c
index 77b073d..d696760 100644
--- a/src/loop.c
+++ b/src/loop.c
@@ -18,6 +18,11 @@ void loop_records_init(void) {
loop_records = sblist_new(sizeof (struct loop_record), 32);
}
+void loop_records_destroy(void) {
+ sblist_free(loop_records);
+ loop_records = 0;
+}
+
#if 0
static void su_to_str(union sockaddr_union *addr, char *buf) {
int af = addr->v4.sin_family;