diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index c74adf769..8fedff78b 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -1293,6 +1293,7 @@ failed: nl_cache_free(drv->nl_cache); nl_handle_destroy(drv->nl_handle); nl_cb_put(drv->nl_cb); + eloop_unregister_read_sock(nl_socket_get_fd(drv->nl_handle_event)); os_free(drv); return NULL;