a97f620 PAM: Do not leak fd after SELinux context file is written

Authored and Committed by jhrozek 7 years ago
    PAM: Do not leak fd after SELinux context file is written
    
    https://fedorahosted.org/sssd/ticket/1619
    
    We don't close the fd when we write the selinux login file in the pam
    responder. This results in a fd leak.