projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75bbb3b
)
client: fix hdr stash leak
author
Andy Green
<andy@warmcat.com>
Fri, 21 Jul 2017 12:58:51 +0000
(20:58 +0800)
committer
Andy Green
<andy@warmcat.com>
Fri, 21 Jul 2017 13:34:46 +0000
(21:34 +0800)
lib/client.c
patch
|
blob
|
history
diff --git
a/lib/client.c
b/lib/client.c
index
c523459
..
3c8986c
100755
(executable)
--- a/
lib/client.c
+++ b/
lib/client.c
@@
-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) {