diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-09-27 08:39:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:59:21 -0500 |
commit | 3aa3428bc93e6c8741b52eaa65d43f3a5abcee2e (patch) | |
tree | 197e61ace64dfe7209359c8544afcd68f1598e02 /source4/ntvfs/posix | |
parent | 6f068e207ab6b6c0206df35e51c56119c2a82fef (diff) | |
download | samba-3aa3428bc93e6c8741b52eaa65d43f3a5abcee2e.tar.gz samba-3aa3428bc93e6c8741b52eaa65d43f3a5abcee2e.tar.bz2 samba-3aa3428bc93e6c8741b52eaa65d43f3a5abcee2e.zip |
r2679: fixed an uninitialised variable found with valgrind
(This used to be commit 9087fab0adcf1791caeb795509ca9f14f5f47e82)
Diffstat (limited to 'source4/ntvfs/posix')
-rw-r--r-- | source4/ntvfs/posix/pvfs_dirlist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_dirlist.c b/source4/ntvfs/posix/pvfs_dirlist.c index 85c307a1b2..56afb4f33b 100644 --- a/source4/ntvfs/posix/pvfs_dirlist.c +++ b/source4/ntvfs/posix/pvfs_dirlist.c @@ -82,7 +82,8 @@ NTSTATUS pvfs_list(struct pvfs_state *pvfs, struct pvfs_filename *name, struct p if (!name->has_wildcard) { return pvfs_list_no_wildcard(pvfs, name, pattern, dir); } - + + dir->names = NULL; dir->count = 0; dir->unix_path = talloc_strdup(dir, name->full_name); if (!dir->unix_path) { |