The branch, master has been updated
       via  997da4a s3: talloc_zero is not needed for structs we ndr_pull into
      from  aca64f6 libcli/smb: move smb2cli_logoff_* from source3 to the top 
level

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 997da4a28bad4b60cdf429ef98e381fa9af63502
Author: Volker Lendecke <[email protected]>
Date:   Mon May 7 11:26:39 2012 +0200

    s3: talloc_zero is not needed for structs we ndr_pull into
    
    Autobuild-User: Volker Lendecke <[email protected]>
    Autobuild-Date: Mon May 14 18:59:07 CEST 2012 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 source3/locking/share_mode_lock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/locking/share_mode_lock.c 
b/source3/locking/share_mode_lock.c
index de8cc3c..f28332c 100644
--- a/source3/locking/share_mode_lock.c
+++ b/source3/locking/share_mode_lock.c
@@ -124,7 +124,7 @@ static struct share_mode_data *parse_share_modes(TALLOC_CTX 
*mem_ctx,
        enum ndr_err_code ndr_err;
        DATA_BLOB blob;
 
-       d = talloc_zero(mem_ctx, struct share_mode_data);
+       d = talloc(mem_ctx, struct share_mode_data);
        if (d == NULL) {
                DEBUG(0, ("talloc failed\n"));
                goto fail;


-- 
Samba Shared Repository

Reply via email to