mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-02-20 12:54:16 +01:00
move debug print (and dereference of resp) inside null check
This commit is contained in:
parent
c264ae14c1
commit
c75a3f0496
@ -382,9 +382,9 @@ display_error(pam_handle_t *pamh, const char *message) {
|
||||
return retval;
|
||||
}
|
||||
|
||||
D(("conv returned: '%s'", resp->resp));
|
||||
if (resp)
|
||||
{
|
||||
D(("conv returned: '%s'", resp->resp));
|
||||
if (resp->resp)
|
||||
free (resp->resp);
|
||||
free (resp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user