From 3aa3428bc93e6c8741b52eaa65d43f3a5abcee2e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 27 Sep 2004 08:39:51 +0000 Subject: r2679: fixed an uninitialised variable found with valgrind (This used to be commit 9087fab0adcf1791caeb795509ca9f14f5f47e82) --- source4/ntvfs/posix/pvfs_dirlist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4') 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) { -- cgit