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:
parent
6d25763d10
commit
f994a4f728
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue