summaryrefslogtreecommitdiff
path: root/source3/smbd/dir.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>1999-04-08 03:01:18 +0000
committerTim Potter <tpot@samba.org>1999-04-08 03:01:18 +0000
commit06c7ec8485c449dbcff7ea4f24ecce068fdab44c (patch)
treee5a706b3bec92ae67b24239e6e93ed45bf19b241 /source3/smbd/dir.c
parentbc40376caa1e828b9e739cd94e46387e0eaf7652 (diff)
downloadsamba-06c7ec8485c449dbcff7ea4f24ecce068fdab44c.tar.gz
samba-06c7ec8485c449dbcff7ea4f24ecce068fdab44c.tar.bz2
samba-06c7ec8485c449dbcff7ea4f24ecce068fdab44c.zip
Forgot about closedir() function for VFS. Hoo embarassing.
(This used to be commit c1cbe07c0391c36066b068fdd42bf1aa40259a5c)
Diffstat (limited to 'source3/smbd/dir.c')
-rw-r--r--source3/smbd/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c
index 52d271e284..b7ae2af47c 100644
--- a/source3/smbd/dir.c
+++ b/source3/smbd/dir.c
@@ -524,7 +524,7 @@ void *OpenDir(connection_struct *conn, char *name, BOOL use_veto)
if (!p) return(NULL);
dirp = (Dir *)malloc(sizeof(Dir));
if (!dirp) {
- closedir(p);
+ conn->vfs_ops.closedir(p);
return(NULL);
}
dirp->pos = dirp->numentries = dirp->mallocsize = 0;
@@ -554,7 +554,7 @@ void *OpenDir(connection_struct *conn, char *name, BOOL use_veto)
dirp->numentries++;
}
- closedir(p);
+ conn->vfs_ops.closedir(p);
return((void *)dirp);
}