mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
client: stop stash leak on error path
https://github.com/warmcat/libwebsockets/issues/1187
This commit is contained in:
parent
a0581a926b
commit
e02a999863
1 changed files with 1 additions and 0 deletions
|
@ -423,6 +423,7 @@ oom4:
|
|||
goto failed1;
|
||||
lws_remove_from_timeout_list(wsi);
|
||||
lws_header_table_detach(wsi, 0);
|
||||
lws_client_stash_destroy(wsi);
|
||||
lws_free(wsi);
|
||||
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue