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 | d61831164b482d02e0eef3c28aeed93d3e44433f (patch) | |
tree | 430303d2ba90f529102c5dfe2ed74df264bd450e /source/auth | |
parent | acfb233acc7324b8d431d5cb777a1933d173b3dc (diff) | |
download | samba-d61831164b482d02e0eef3c28aeed93d3e44433f.tar.gz samba-d61831164b482d02e0eef3c28aeed93d3e44433f.tar.xz samba-d61831164b482d02e0eef3c28aeed93d3e44433f.zip |
Fix CID 460 - resource leak on error.
Jeremy.
Diffstat (limited to 'source/auth')
-rw-r--r-- | source/auth/auth_server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/auth/auth_server.c b/source/auth/auth_server.c index 9f90ef8ccd2..095f0b9fb83 100644 --- a/source/auth/auth_server.c +++ b/source/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; } |