s3:libsmb: remove subreqs as early as possible via a smbsock_connect_cleanup() hook
authorStefan Metzmacher <metze@samba.org>
Thu, 21 May 2015 01:01:05 +0000 (03:01 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 12 Jun 2015 15:08:17 +0000 (17:08 +0200)
commit04f89d4255ed95631aa8f0ada4bcf5f888e126d4
tree02d1568339c9ddec995937da0b13e31d77c2b8b2
parent992be06f165c3d05e85d16baf514dba49f55d1ec
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>
source3/libsmb/smbsock_connect.c