free() loop records too
This commit is contained in:
1 parent
bd92446184
commit
192f8194e1
4 files changed
+10
-2
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user