1
0
Fork 0
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:
Andy Green 2021-08-02 16:33:32 +01:00
parent d18d7a3643
commit 3073655759

View file

@ -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);
}