1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-26 01:49:31 +03:00

r2679: fixed an uninitialised variable found with valgrind

(This used to be commit 9087fab0ad)
This commit is contained in:
Andrew Tridgell
2004-09-27 08:39:51 +00:00
committed by Gerald (Jerry) Carter
parent 6f068e207a
commit 3aa3428bc9

View File

@ -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) {