git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2371d31
)
Fix CID 460 - resource leak on error.
author
Jeremy Allison
<jra@samba.org>
Wed, 9 Jan 2008 02:48:04 +0000
(18:48 -0800)
committer
Jeremy Allison
<jra@samba.org>
Wed, 9 Jan 2008 02:48:04 +0000
(18:48 -0800)
Jeremy.
(This used to be commit
d61831164b482d02e0eef3c28aeed93d3e44433f
)
source3/auth/auth_server.c
patch
|
blob
|
history
diff --git
a/source3/auth/auth_server.c
b/source3/auth/auth_server.c
index 9f90ef8ccd21e5e47414c288420a19db9ad130ef..095f0b9fb83b7d0a1453eed2212f2515a4eb3859 100644
(file)
--- 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;
}