diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-12-12 09:11:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:07:21 -0500 |
commit | 08a409f9b935f142de4ac15327fef0535a78942e (patch) | |
tree | 20a762baf3de83e3c6e9945156b3300c03d301bb /source4/ntvfs | |
parent | bbe03283475d4374f51af2e37ca2464f01885f91 (diff) | |
download | samba-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)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/posix/pvfs_dirlist.c | 6 |
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; - } } |