mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
s3-g_lock: Properly free "rec" on retry to avoid deadlock
Signed-off-by: Christian Ambach <ambi@samba.org>
This commit is contained in:
parent
7c56d80bee
commit
494003fb67
@ -259,6 +259,7 @@ static void g_lock_lock_retry(struct tevent_req *subreq)
|
||||
}
|
||||
subreq = dbwrap_record_watch_send(state, state->ev, rec,
|
||||
state->ctx->msg);
|
||||
TALLOC_FREE(rec);
|
||||
if (tevent_req_nomem(subreq, req)) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user