diff --git a/pam_yubico.c b/pam_yubico.c index d1a34ac..a9a419a 100644 --- a/pam_yubico.c +++ b/pam_yubico.c @@ -1076,7 +1076,7 @@ done: size_t i; for(i = 0; i < templates; i++) { - free(urls[templates]); + free(urls[i]); } } if (ykc)