diff options
Diffstat (limited to 'ot_accesslist.c')
-rw-r--r-- | ot_accesslist.c | 4 |
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 @@ | |||
23 | char *g_accesslist_filename = NULL; | 23 | char *g_accesslist_filename = NULL; |
24 | static ot_vector accesslist; | 24 | static ot_vector accesslist; |
25 | 25 | ||
26 | static void access_list_deinit( void ) { | ||
27 | accesslist_reset( ); | ||
28 | } | ||
29 | |||
26 | static void accesslist_reset( void ) { | 30 | static void accesslist_reset( void ) { |
27 | free( accesslist.data ); | 31 | free( accesslist.data ); |
28 | byte_zero( &accesslist, sizeof( accesslist ) ); | 32 | byte_zero( &accesslist, sizeof( accesslist ) ); |