1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2025-02-22 18:54:37 +01:00

Fix segfault whilst freeing urls

This commit is contained in:
Alex Fisher 2014-06-02 11:32:08 +01:00
parent 164296af28
commit d35d5bfb30

View File

@ -1076,7 +1076,7 @@ done:
size_t i; size_t i;
for(i = 0; i < templates; i++) for(i = 0; i < templates; i++)
{ {
free(urls[templates]); free(urls[i]);
} }
} }
if (ykc) if (ykc)