client: fix hdr stash leak
This commit is contained in:
parent
75bbb3b2c0
commit
003bd7dcee
1 changed files with 2 additions and 0 deletions
|
@ -631,6 +631,8 @@ lws_client_interpret_server_handshake(struct lws *wsi)
|
|||
int more = 1;
|
||||
void *v;
|
||||
#endif
|
||||
if (wsi->u.hdr.stash)
|
||||
lws_free_set_NULL(wsi->u.hdr.stash);
|
||||
|
||||
ah = wsi->u.hdr.ah;
|
||||
if (!wsi->do_ws) {
|
||||
|
|
Loading…
Add table
Reference in a new issue