From: Cory McWilliams Date: Wed, 16 Aug 2017 20:03:12 +0000 (-0400) Subject: Subject: Mismatched lws_zalloc / free X-Git-Tag: accepted/tizen/4.0/unified/20171012.191640~3 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flibwebsockets.git;a=commitdiff_plain;h=c5d29ba5e9cbf897a0c921ccaeee4be1ddad0f08 Subject: Mismatched lws_zalloc / free --- diff --git a/lib/context.c b/lib/context.c index e8066b7..37219cd 100644 --- 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 **)