git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a4b559
)
Fix a double-closedir() in form_junctions()
author
Volker Lendecke
<vl@samba.org>
Sat, 21 Jun 2008 14:48:07 +0000
(16:48 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sat, 21 Jun 2008 14:48:07 +0000
(16:48 +0200)
source/smbd/msdfs.c
patch
|
blob
|
history
diff --git
a/source/smbd/msdfs.c
b/source/smbd/msdfs.c
index f0dd900be8dddc54323225b959e4d2fab50c4387..6fb523f4723a5e957bf6b8e547d796726d3880bd 100644
(file)
--- a/
source/smbd/msdfs.c
+++ b/
source/smbd/msdfs.c
@@
-1539,7
+1539,6
@@
static int form_junctions(TALLOC_CTX *ctx,
while ((dname = vfs_readdirname(&conn, dirp)) != NULL) {
char *link_target = NULL;
if (cnt >= jn_remain) {
- SMB_VFS_CLOSEDIR(&conn,dirp);
DEBUG(2, ("form_junctions: ran out of MSDFS "
"junction slots"));
goto out;