Skip to content
Snippets Groups Projects
Commit fff2bb5b authored by Cory McWilliams's avatar Cory McWilliams Committed by Andy Green
Browse files

Subject: Mismatched lws_zalloc / free

parent 12a00ea8
No related branches found
No related tags found
No related merge requests found
...@@ -421,7 +421,7 @@ lws_create_vhost(struct lws_context *context, ...@@ -421,7 +421,7 @@ lws_create_vhost(struct lws_context *context,
vh->protocols = lwsp; vh->protocols = lwsp;
else { else {
vh->protocols = info->protocols; vh->protocols = info->protocols;
free(lwsp); lws_free(lwsp);
} }
vh->same_vh_protocol_list = (struct lws **) vh->same_vh_protocol_list = (struct lws **)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment