Skip to content

Commit

Permalink
Subject: Mismatched lws_zalloc / free
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory McWilliams authored and lws-team committed Aug 16, 2017
1 parent 7c41ff6 commit c5d29ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/context.c
Expand Up @@ -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 **)
Expand Down

0 comments on commit c5d29ba

Please sign in to comment.