diff options
Diffstat (limited to 'src/libwpactrl/wpactrl_end.c')
-rw-r--r-- | src/libwpactrl/wpactrl_end.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libwpactrl/wpactrl_end.c b/src/libwpactrl/wpactrl_end.c index 40fdb4a..a14b6c8 100644 --- a/src/libwpactrl/wpactrl_end.c +++ b/src/libwpactrl/wpactrl_end.c @@ -1,11 +1,14 @@ /* ISC license. */ +#include <skalibs/stralloc.h> #include <skalibs/djbunix.h> #include <bcnm/wpactrl.h> -void wpactrl_free (wpactrl_t *a) +void wpactrl_end (wpactrl_t *a) { fd_close(a->fda) ; fd_close(a->fds) ; + stralloc_free(&a->filters) ; + stralloc_free(&a->data) ; *a = wpactrl_zero ; } |