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:
committed by
Gerald (Jerry) Carter
parent
6f068e207a
commit
3aa3428bc9
@ -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) {
|
||||
|
Reference in New Issue
Block a user