diff options
author | Jeremy Allison <jra@samba.org> | 2008-01-08 18:48:04 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-01-08 18:48:04 -0800 |
commit | b47d491489ae6161f0c04378ed15dc1a54a166e1 (patch) | |
tree | 4e51a00c51d2eb7c18900a3c5cdb7bd8c0465aac /source3 | |
parent | 2371d31f64e8b1238e86d86c5b6f20ac5a842799 (diff) | |
download | samba-b47d491489ae6161f0c04378ed15dc1a54a166e1.tar.gz samba-b47d491489ae6161f0c04378ed15dc1a54a166e1.tar.xz samba-b47d491489ae6161f0c04378ed15dc1a54a166e1.zip |
Fix CID 460 - resource leak on error.
Jeremy.
(This used to be commit d61831164b482d02e0eef3c28aeed93d3e44433f)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/auth/auth_server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c index 9f90ef8ccd..095f0b9fb8 100644 --- a/source3/auth/auth_server.c +++ b/source3/auth/auth_server.c @@ -75,6 +75,7 @@ static struct cli_state *server_cryptkey(TALLOC_CTX *mem_ctx) connection (tridge) */ if (!grab_server_mutex(desthost)) { + cli_shutdown(cli); return NULL; } |