Subject: Mismatched lws_zalloc / free

This commit is contained in:
Cory McWilliams 2017-08-16 16:03:12 -04:00 committed by Andy Green
parent 12a00ea821
commit fff2bb5b21

View file

@ -421,7 +421,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 **)