summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-06-21 16:39:05 +0200
committerVolker Lendecke <vl@samba.org>2008-06-21 16:49:00 +0200
commita8ae3bc317c9fb0c77798b361e54efff6cdb8a9b (patch)
tree3109510ff4a3e67298e54c445fc0f8523dee6251 /source3
parent36282a8b6af7c769a931ff65679e2c5cca70a348 (diff)
downloadsamba-a8ae3bc317c9fb0c77798b361e54efff6cdb8a9b.tar.gz
samba-a8ae3bc317c9fb0c77798b361e54efff6cdb8a9b.tar.bz2
samba-a8ae3bc317c9fb0c77798b361e54efff6cdb8a9b.zip
Fix a double-closedir() in form_junctions()
(This used to be commit 1d7ad0dea7ebf7a46af6e695797e5132264307d6)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/msdfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c
index de57d8def2..25b22f4cc0 100644
--- 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;