[gnutls-devel] GnuTLS | libdane: A bit of a mix of gnutls_calloc and free (#1787)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Sat Jan 17 00:32:28 CET 2026




Daiki Ueno commented: https://gitlab.com/gnutls/gnutls/-/issues/1787#note_3013777883


```c
-               free(*dane_data);
+               gnutls_free(*dane_data);
                *dane_data = NULL;
```
Given the commit d39778e43d1674cb3ab3685157fd299816d535c0 introduced automatic NULLification, can't we omit `*dane_data = NULL`?

In any case, I'd suggest filing a merge request if you have time :-)

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1787#note_3013777883
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/20260116/fee87f37/attachment-0001.html>


More information about the Gnutls-devel mailing list