summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/brlock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c
index 252728ced3..41a7b9ea4a 100644
--- a/source3/locking/brlock.c
+++ b/source3/locking/brlock.c
@@ -1637,6 +1637,7 @@ static struct byte_range_lock *brl_get_locks_internal(TALLOC_CTX *mem_ctx,
}
br_lck->read_only = read_only;
+ br_lck->lock_data = NULL;
talloc_set_destructor(br_lck, byte_range_lock_destructor);