[gnutls-devel] GnuTLS | src/danetool.c: Free str on error to avoid memory leak (!1963)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon Jun 16 07:27:53 CEST 2025




Daiki Ueno started a new discussion on src/danetool.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1963#note_2563855583

 >  				goto error;
 >  			}
 >  			fprintf(outfile, "[%u]: %s\n", i, str);

The CI is failing as `str` no longer exists; maybe this would fix it?
```suggestion:-0+0
			fprintf(outfile, "[%u]: %s\n", i, out.data);
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1963#note_2563855583
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/20250616/4f566e0c/attachment.html>


More information about the Gnutls-devel mailing list