s3:libsmb: remove subreqs as early as possible via a smbsock_connect_cleanup() hook
commit511674aaed9d60a979a31f8b126cd917d3c4ea78
authorStefan Metzmacher <metze@samba.org>
Thu, 21 May 2015 01:01:05 +0000 (21 03:01 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 30 Jun 2015 02:19:07 +0000 (30 04:19 +0200)
tree5a9271749853d8e32b2498ecf0065d1c9a06dd32
parente791b7753c070f977b750c36f8775da1e9332686
s3:libsmb: remove subreqs as early as possible via a smbsock_connect_cleanup() hook

open_socket_out_send() or nb_connect_send() likely use socket fds and
tevent_fd objects. We should clean them up as early as possible.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11316

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 04f89d4255ed95631aa8f0ada4bcf5f888e126d4)
source3/libsmb/smbsock_connect.c