summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/locking/share_mode_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/share_mode_lock.c b/source3/locking/share_mode_lock.c
index de8cc3ce8b..f28332c226 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;