~ubuntu-branches/ubuntu/vivid/lightdm/vivid-proposed

« back to all changes in this revision

Viewing changes to src/session-child.c

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2015-03-24 10:25:22 UTC
  • Revision ID: package-import@ubuntu.com-20150324102522-alc10eqtkp57vrk7
Tags: 1.14.0-0ubuntu1
* New upstream release:
  - Initialize file descriptor handles so we don't attempt to close stdin by
    accident.
  - Fix small errors detected by scan-build (clang).

Show diffs side-by-side

added added

removed removed

Lines of Context:
768
768
    pam_close_session (pam_handle, 0);
769
769
 
770
770
    /* Remove credentials */
771
 
    result = pam_setcred (pam_handle, PAM_DELETE_CRED);
 
771
    pam_setcred (pam_handle, PAM_DELETE_CRED);
772
772
 
773
773
    pam_end (pam_handle, 0);
774
774
    pam_handle = NULL;