neutrinolabs/xrdp — pull request #172 by moobyfr (2014-09-20 07:13:42+00:00)
Title: If auth fails, call pam_end so PAM backends can call _cleanup

This patch fix issue #171 and #169
If the authentication fails, calling pam_end informs PAM module , and they can take care of cleanup of theirs resources