summaryrefslogtreecommitdiff
path: root/ot_accesslist.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_accesslist.c')
-rw-r--r--ot_accesslist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ot_accesslist.c b/ot_accesslist.c
index f4c21c5..3b8e8a9 100644
--- a/ot_accesslist.c
+++ b/ot_accesslist.c
@@ -23,6 +23,10 @@
23char *g_accesslist_filename = NULL; 23char *g_accesslist_filename = NULL;
24static ot_vector accesslist; 24static ot_vector accesslist;
25 25
26static void access_list_deinit( void ) {
27 accesslist_reset( );
28}
29
26static void accesslist_reset( void ) { 30static void accesslist_reset( void ) {
27 free( accesslist.data ); 31 free( accesslist.data );
28 byte_zero( &accesslist, sizeof( accesslist ) ); 32 byte_zero( &accesslist, sizeof( accesslist ) );