summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-12-12 09:11:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:21 -0500
commit08a409f9b935f142de4ac15327fef0535a78942e (patch)
tree20a762baf3de83e3c6e9945156b3300c03d301bb
parentbbe03283475d4374f51af2e37ca2464f01885f91 (diff)
downloadsamba-08a409f9b935f142de4ac15327fef0535a78942e.tar.gz
samba-08a409f9b935f142de4ac15327fef0535a78942e.tar.bz2
samba-08a409f9b935f142de4ac15327fef0535a78942e.zip
r4163: 2nd attempt at fixing the OS/2 "del *" problem
(This used to be commit ae14905d9522dbdc1709ef110b9933adcb740a26)
-rw-r--r--source4/ntvfs/posix/pvfs_dirlist.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source4/ntvfs/posix/pvfs_dirlist.c b/source4/ntvfs/posix/pvfs_dirlist.c
index b29c776cba..1ef6e408c3 100644
--- a/source4/ntvfs/posix/pvfs_dirlist.c
+++ b/source4/ntvfs/posix/pvfs_dirlist.c
@@ -179,8 +179,6 @@ const char *pvfs_list_next(struct pvfs_dir *dir, uint_t *ofs)
return dir->last_name;
}
- if (dir->last_name) talloc_free(dir->last_name);
- dir->last_name = NULL;
dir->end_of_search = True;
pvfs_list_hibernate(dir);
return NULL;
@@ -196,10 +194,6 @@ void pvfs_list_hibernate(struct pvfs_dir *dir)
closedir(dir->dir);
dir->dir = NULL;
}
- if (!dir->no_wildcard && dir->last_name) {
- talloc_free(dir->last_name);
- dir->last_name = NULL;
- }
}