git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dfffe4
)
r4163: 2nd attempt at fixing the OS/2 "del *" problem
author
Andrew Tridgell
<tridge@samba.org>
Sun, 12 Dec 2004 09:11:39 +0000
(09:11 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:07:21 +0000
(13:07 -0500)
source/ntvfs/posix/pvfs_dirlist.c
patch
|
blob
|
history
diff --git
a/source/ntvfs/posix/pvfs_dirlist.c
b/source/ntvfs/posix/pvfs_dirlist.c
index b29c776cba863e67dadaf1915ea79bc01044268a..1ef6e408c30e878ea54860bbee383936473e8844 100644
(file)
--- a/
source/ntvfs/posix/pvfs_dirlist.c
+++ b/
source/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;
- }
}