summaryrefslogtreecommitdiffstats
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-19 06:32:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:01:54 -0500
commit2b8aa720f47804f783679388f40a9345eff897b9 (patch)
tree458f78df82e4762bd9a1e38a7f35a51d3139bea3 /source4/ntvfs
parent002f883202353c2ddf087face63cc1ac0be8b6ad (diff)
downloadsamba-2b8aa720f47804f783679388f40a9345eff897b9.tar.gz
samba-2b8aa720f47804f783679388f40a9345eff897b9.tar.xz
samba-2b8aa720f47804f783679388f40a9345eff897b9.zip
r3055: use talloc_zero_p()
(This used to be commit 7bea9afeed219efa51aa8268af96f782f23f2400)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/simple/vfs_simple.c2
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;
}