projects
/
platform
/
upstream
/
libwebsockets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Subject: Mismatched lws_zalloc / free
[platform/upstream/libwebsockets.git]
/
lib
/
context.c
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 **)