free() loop records too

This commit is contained in:
rofl0r committed 2020-09-15 23:12:00 +01:00
1 parent bd92446184
commit 192f8194e1
4 files changed
+10 -2

No files matched your search

+5
View File
@@ -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;