From: Volker Lendecke Date: Wed, 7 Feb 2018 10:13:40 +0000 (+0100) Subject: smbd: Use "share_mode_data->id", not "share_mode_entry->id" X-Git-Tag: tevent-0.9.36~128 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bab8bf7acb71bc54c258c29e7392927afb8b0709;p=thirdparty%2Fsamba.git smbd: Use "share_mode_data->id", not "share_mode_entry->id" Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- 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)));