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

free vs lws_free: lws_vhost_destroy2

This commit is contained in:
unprompted 2017-08-28 21:49:23 +08:00 committed by Andy Green
parent 6d25763d10
commit f994a4f728

View file

@ -1292,7 +1292,7 @@ lws_vhost_destroy2(struct lws_vhost *vh)
lwsl_notice(" %s: Freeing vhost %p\n", __func__, vh);
memset(vh, 0, sizeof(*vh));
free(vh);
lws_free(vh);
}
int