git.samba.org
/
metze
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
002f883
)
r3055: use talloc_zero_p()
author
Andrew Tridgell
<tridge@samba.org>
Tue, 19 Oct 2004 06:32:26 +0000
(06:32 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:01:54 +0000
(13:01 -0500)
(This used to be commit
7bea9afeed219efa51aa8268af96f782f23f2400
)
source4/ntvfs/simple/vfs_simple.c
patch
|
blob
|
history
diff --git
a/source4/ntvfs/simple/vfs_simple.c
b/source4/ntvfs/simple/vfs_simple.c
index 7ebc040608bd20836d17688e80b5ce860e6e5451..f72d557b58d0136dcc6e31c369ed7d4b3a14e6be 100644
(file)
--- 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;
}