mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
ss: zero on destroy
This commit is contained in:
parent
d18d7a3643
commit
3073655759
1 changed files with 3 additions and 0 deletions
|
@ -1463,6 +1463,9 @@ lws_ss_destroy(lws_ss_handle_t **ppss)
|
|||
__func__);
|
||||
|
||||
__lws_lc_untag(h->context, &h->lc);
|
||||
|
||||
lws_explicit_bzero((void *)h, sizeof(*h));
|
||||
|
||||
lws_free_set_NULL(h);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue