Re: GnuTLS | libdane: A bit of a mix of gnutls_calloc and free (#1787)
Read-only notification of GnuTLS library development activities <[email protected]>
| Newsgroups | gmane.comp.encryption.gpg.gnutls.devel |
|---|---|
| Message-ID | <[email protected]> |
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.
_______________________________________________
Gnutls-devel mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-devel