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:
7c41ff6
)
Subject: Mismatched lws_zalloc / free
author
Cory McWilliams
<cmcwilliams@velanstudios.com>
Wed, 16 Aug 2017 20:03:12 +0000
(16:03 -0400)
committer
Andy Green
<andy@warmcat.com>
Wed, 16 Aug 2017 23:31:10 +0000
(07:31 +0800)
lib/context.c
patch
|
blob
|
history
diff --git
a/lib/context.c
b/lib/context.c
index
e8066b7
..
37219cd
100644
(file)
--- a/
lib/context.c
+++ b/
lib/context.c
@@
-535,7
+535,7
@@
lws_create_vhost(struct lws_context *context,
vh->protocols = lwsp;
else {
vh->protocols = info->protocols;
- free(lwsp);
+
lws_
free(lwsp);
}
vh->same_vh_protocol_list = (struct lws **)