The retry of the open is scheduled below, avoid rescheduling it a second time in
the open retry timeout function.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14672
CI: https://gitlab.com/samba-team/samba/-/merge_requests/1843
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit
171a58ff3e8ee07cf5d7af08eabcb4a7379e7ce5)
status = share_mode_watch_recv(subreq, NULL, NULL);
TALLOC_FREE(subreq);
open_rec->watch_req = NULL;
+ TALLOC_FREE(open_rec->te);
DBG_DEBUG("dbwrap_watched_watch_recv returned %s\n",
nt_errstr(status));