[gnutls-devel] GnuTLS | tests/tls13-early-data-neg2: avoid a small memory leak (!1969)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Tue Jul 1 16:39:24 CEST 2025
Daiki Ueno started a new discussion on tests/tls13-early-data-neg2.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1969#note_2596816622
>
> if (t < 2) {
> /* get the session data size */
> + if (session_data.data)
> + gnutls_free(session_data.data);
I would prefer calling `gnutls_free` unconditionally without the check.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1969#note_2596816622
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/20250701/7d8cf743/attachment-0001.html>
More information about the Gnutls-devel
mailing list