diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/ntvfs/simple/vfs_simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/simple/vfs_simple.c b/source4/ntvfs/simple/vfs_simple.c index 7ebc040608..f72d557b58 100644 --- a/source4/ntvfs/simple/vfs_simple.c +++ b/source4/ntvfs/simple/vfs_simple.c @@ -799,7 +799,7 @@ static NTSTATUS svfs_search_first(struct ntvfs_module_context *ntvfs, return NT_STATUS_NOT_SUPPORTED; } - search = talloc_zero(private, sizeof(struct search_state)); + search = talloc_zero_p(private, struct search_state); if (!search) { return NT_STATUS_NO_MEMORY; } |