diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-09-25 01:13:12 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-09-25 03:06:13 +0200 |
commit | f240a4c2e7e5b05f91ae728334a9aadb4e97351f (patch) | |
tree | e7ad43dee6bcd5e35b2ef36191e138eced5e7ffd /source4/rpc_server/drsuapi/dcesrv_drsuapi.c | |
parent | bbac4fb42fc441a2b744ad5c5ecf93fbce920665 (diff) | |
download | samba-f240a4c2e7e5b05f91ae728334a9aadb4e97351f.tar.gz samba-f240a4c2e7e5b05f91ae728334a9aadb4e97351f.tar.bz2 samba-f240a4c2e7e5b05f91ae728334a9aadb4e97351f.zip |
s4:rpc_server/drsuapi: use talloc_zero instead of talloc() in dcesrv_drsuapi_DsBind()
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Sep 25 03:06:13 CEST 2012 on sn-devel-104
Diffstat (limited to 'source4/rpc_server/drsuapi/dcesrv_drsuapi.c')
-rw-r--r-- | source4/rpc_server/drsuapi/dcesrv_drsuapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/drsuapi/dcesrv_drsuapi.c b/source4/rpc_server/drsuapi/dcesrv_drsuapi.c index 3512de60f5..4c78738af8 100644 --- a/source4/rpc_server/drsuapi/dcesrv_drsuapi.c +++ b/source4/rpc_server/drsuapi/dcesrv_drsuapi.c @@ -220,7 +220,7 @@ static WERROR dcesrv_drsuapi_DsBind(struct dcesrv_call_state *dce_call, TALLOC_C /* * allocate the return bind_info */ - bind_info = talloc(mem_ctx, struct drsuapi_DsBindInfoCtr); + bind_info = talloc_zero(mem_ctx, struct drsuapi_DsBindInfoCtr); W_ERROR_HAVE_NO_MEMORY(bind_info); bind_info->length = 28; |