From bab8bf7acb71bc54c258c29e7392927afb8b0709 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 7 Feb 2018 11:13:40 +0100 Subject: [PATCH] smbd: Use "share_mode_data->id", not "share_mode_entry->id" Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/locking/locking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/locking/locking.c b/source3/locking/locking.c index 6311cda276a..2b5c7c7885f 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -722,7 +722,7 @@ static void remove_share_mode_lease(struct share_mode_data *d, status = leases_db_del(&client_guid, &lease_key, - &e->id); + &d->id); DEBUG(10, ("%s: leases_db_del returned %s\n", __func__, nt_errstr(status))); -- 2.11.4.GIT