mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
netlink: back out lifecycle tag on netlink fail
This commit is contained in:
parent
a6d81e3fcc
commit
00b9ef09c0
1 changed files with 1 additions and 0 deletions
|
@ -434,6 +434,7 @@ rops_pt_init_destroy_netlink(struct lws_context *context,
|
|||
return 0;
|
||||
|
||||
bail2:
|
||||
__lws_lc_untag(&wsi->lc);
|
||||
compatible_close(wsi->desc.sockfd);
|
||||
bail1:
|
||||
lws_free(wsi);
|
||||
|
|
Loading…
Add table
Reference in a new issue