diff options
author | Pavel Březina <pbrezina@redhat.com> | 2012-10-19 11:31:08 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-03-20 13:29:29 +0100 |
commit | 6f8ae17869f4f8a1496e3f171ae6b5c11af1845c (patch) | |
tree | cc845f8e4f68de80e5aaf43d7a136049dad8a741 /src/responder/pam | |
parent | dfe84158c49e44f2207b94d25e61ab4f3fe38366 (diff) | |
download | sssd-6f8ae17869f4f8a1496e3f171ae6b5c11af1845c.tar.gz sssd-6f8ae17869f4f8a1496e3f171ae6b5c11af1845c.tar.bz2 sssd-6f8ae17869f4f8a1496e3f171ae6b5c11af1845c.zip |
do not leak memory on failure in *_process_init()
Diffstat (limited to 'src/responder/pam')
-rw-r--r-- | src/responder/pam/pamsrv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/pam/pamsrv.c b/src/responder/pam/pamsrv.c index f0c89a96..e5bb9009 100644 --- a/src/responder/pam/pamsrv.c +++ b/src/responder/pam/pamsrv.c @@ -195,7 +195,7 @@ static int pam_process_init(TALLOC_CTX *mem_ctx, if (ret != EOK) { DEBUG(SSSDBG_FATAL_FAILURE, ("Failed to set up file descriptor limit\n")); - return ret; + goto done; } responder_set_fd_limit(fd_limit); |