git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aca64f6
)
s3: talloc_zero is not needed for structs we ndr_pull into
author
Volker Lendecke
<vl@samba.org>
Mon, 7 May 2012 09:26:39 +0000
(11:26 +0200)
committer
Volker Lendecke
<vl@samba.org>
Mon, 14 May 2012 16:59:07 +0000
(18:59 +0200)
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Mon May 14 18:59:07 CEST 2012 on sn-devel-104
source3/locking/share_mode_lock.c
patch
|
blob
|
history
diff --git
a/source3/locking/share_mode_lock.c
b/source3/locking/share_mode_lock.c
index de8cc3ce8bde1824030c36a1aeffdc204237880c..f28332c226773c757a0b87029dbb6bd1defcbdf4 100644
(file)
--- 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;