[gnutls-devel] GnuTLS | tests/pkcs11/long-label: fix a leak (!2068)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Fri Feb 20 10:01:35 CET 2026




Daiki Ueno started a new discussion on tests/pkcs11/long-label.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/2068#note_3100231359

 >  		fail("gnutls_pkcs11_token_init: %s\n", gnutls_strerror(ret));
 >  	}
 >  
 > +	char *url = NULL;
 >  	for (i = 0;; i++) {
 > -		char *url = NULL;

nit: I would keep the variable scope as minimal as possible

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2068#note_3100231359
You're receiving this email because of your account on gitlab.com. Unsubscribe from this thread: https://gitlab.com/-/sent_notifications/3-dguwt85zzt1he532cjpv2hjls/unsubscribe | Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20260220/1852c6b8/attachment.html>


More information about the Gnutls-devel mailing list