nl80211: Unregister forgotten eloop socket on init failure
This commit is contained in:
parent
8b897f5a17
commit
05ba8690cb
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue