git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36282a8
)
Fix a double-closedir() in form_junctions()
author
Volker Lendecke
<vl@samba.org>
Sat, 21 Jun 2008 14:39:05 +0000
(16:39 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sat, 21 Jun 2008 14:49:00 +0000
(16:49 +0200)
(This used to be commit
1d7ad0dea7ebf7a46af6e695797e5132264307d6
)
source3/smbd/msdfs.c
patch
|
blob
|
history
diff --git
a/source3/smbd/msdfs.c
b/source3/smbd/msdfs.c
index de57d8def2689c7f47a9e69cffa52c1e68c7120f..25b22f4cc04b9e049cbd18829ee8c629203b324e 100644
(file)
--- a/
source3/smbd/msdfs.c
+++ b/
source3/smbd/msdfs.c
@@
-1541,7
+1541,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;