1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

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 872e8d7e9d
commit 4b24369d64

View file

@ -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 **)