diff options
author | Volker Lendecke <vl@samba.org> | 2008-06-21 16:48:07 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2008-06-23 09:21:00 +0200 |
commit | 8804baefaa2f422a3e4235579eb580fe7d0ed9cc (patch) | |
tree | 84e278bafe6d4bc4bf2a443d91516187c61552e2 /source | |
parent | 7705cb9f0910192139baba6de2e12b71267494fc (diff) | |
download | samba-8804baefaa2f422a3e4235579eb580fe7d0ed9cc.tar.gz |
Fix a double-closedir() in form_junctions()
(cherry picked from commit 394f4509bc5dd31801ef83ee9cc29c1e3a9f1078)
Diffstat (limited to 'source')
-rw-r--r-- | source/smbd/msdfs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/smbd/msdfs.c b/source/smbd/msdfs.c index f0dd900be8d..6fb523f4723 100644 --- 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; |