Remove bogus calls to xfree().

This commit is contained in:
Dag-Erling Smørgrav 2003-09-24 19:11:52 +00:00
parent 3fbbaabe4a
commit b584000fa2

View File

@ -169,8 +169,6 @@ pam_thread_conv(int n,
buffer_free(&buffer);
return (PAM_SUCCESS);
fail:
while (i)
xfree(resp[--i]);
xfree(*resp);
*resp = NULL;
buffer_free(&buffer);
@ -571,8 +569,6 @@ pam_chauthtok_conv(int n,
}
return (PAM_SUCCESS);
fail:
while (i)
xfree(resp[--i]);
xfree(*resp);
*resp = NULL;
return (PAM_CONV_ERR);