mirror of
https://github.com/linux-pam/linux-pam.git
synced 2024-11-27 11:43:38 +08:00
pam_faillock: free handle in test
This commit is contained in:
parent
4e8af9027d
commit
b2bc6a660a
@ -82,6 +82,7 @@ main(void)
|
||||
ASSERT_NE(NULL, pamh);
|
||||
ASSERT_EQ(PAM_PERM_DENIED, pam_authenticate(pamh, 0));
|
||||
ASSERT_EQ(PAM_PERM_DENIED, pam_authenticate(pamh, 0));
|
||||
ASSERT_EQ(PAM_SUCCESS, pam_end(pamh, 0));
|
||||
pamh = NULL;
|
||||
ASSERT_EQ(0, unlink(service_file));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user