git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5baa443
)
s4:torture/rpc: use talloc_zero() in torture_join_domain()
author
Stefan Metzmacher
<metze@samba.org>
Wed, 16 Nov 2011 14:29:03 +0000
(15:29 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 29 Nov 2011 08:21:25 +0000
(09:21 +0100)
metze
source4/torture/rpc/testjoin.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/testjoin.c
b/source4/torture/rpc/testjoin.c
index 48408ed5c169d1649800e71e2a5a1a1824646271..eb49b8e3abfdd5b569362c005d750d5f163cbce5 100644
(file)
--- a/
source4/torture/rpc/testjoin.c
+++ b/
source4/torture/rpc/testjoin.c
@@
-430,10
+430,10
@@
_PUBLIC_ struct test_join *torture_join_domain(struct torture_context *tctx,
struct samr_SetUserInfo s;
union samr_UserInfo u;
- tj = talloc(tctx, struct test_join);
+ tj = talloc
_zero
(tctx, struct test_join);
if (!tj) return NULL;
- libnet_r = talloc(tj, struct libnet_JoinDomain);
+ libnet_r = talloc
_zero
(tj, struct libnet_JoinDomain);
if (!libnet_r) {
talloc_free(tj);
return NULL;