git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54ad97b
)
Fix Coverity ID 465
author
Volker Lendecke
<vl@samba.org>
Thu, 24 Jan 2008 14:52:45 +0000
(15:52 +0100)
committer
Volker Lendecke
<vl@samba.org>
Thu, 24 Jan 2008 15:31:55 +0000
(16:31 +0100)
source/nmbd/nmbd_synclists.c
patch
|
blob
|
history
diff --git
a/source/nmbd/nmbd_synclists.c
b/source/nmbd/nmbd_synclists.c
index 147df68a69d9787ebf039ed68ed80c5d4278c546..5a2f5c46b4b296b640f45ed2351f2a26f9495c26 100644
(file)
--- a/
source/nmbd/nmbd_synclists.c
+++ b/
source/nmbd/nmbd_synclists.c
@@
-81,12
+81,14
@@
static void sync_child(char *name, int nm_type,
}
if (!cli_set_port(cli, 139)) {
+ cli_shutdown(cli);
return;
}
in_addr_to_sockaddr_storage(&ss, ip);
status = cli_connect(cli, name, &ss);
if (!NT_STATUS_IS_OK(status)) {
+ cli_shutdown(cli);
return;
}