[gnutls-devel] GnuTLS | gnutls_rnd manage memory per-thread (!1647)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Mon Sep 26 13:40:54 CEST 2022
Zoltán Fridrich started a new discussion on lib/random.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1647#note_1114217055
>
> void _gnutls_rnd_deinit(void)
> {
> - if (_gnutls_rnd_ops.deinit != NULL) {
> - struct rnd_ctx_list_st *e = head, *next;
> -
> - while(e != NULL) {
> - next = e->next;
> - _gnutls_rnd_ops.deinit(e->ctx);
> - gnutls_free(e);
> - e = next;
> - }
> - head = NULL;
> - }
> -
> + free_ctx(gl_tls_get(ctx_key));
unnecessary
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1647#note_1114217055
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20220926/b3fdc305/attachment-0001.html>
More information about the Gnutls-devel
mailing list