torture: fixed socket leak in BENCH-TCON test
commitb5493f8ced67e04ee173aed6eb2b40e1e5ef2291
authorAndrew Tridgell <tridge@samba.org>
Mon, 12 Oct 2009 05:11:53 +0000 (12 16:11 +1100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 26 Nov 2009 10:39:14 +0000 (26 11:39 +0100)
tree2d70ddbfad534bfe827827cf3003e2cf5ebd77b9
parent8c1ec1996afbc595a9bb1fe55380f4a9086bd244
torture: fixed socket leak in BENCH-TCON test

The BENCH-TCON test was leaving the socket open. A smbclie_tdis()
closes the tree connection, but does not close the socket.

This caused the build farm to run out of file descriptors
(cherry picked from commit f1529c3223a4b366cd4795c559eaaa8c40078470)
source4/torture/raw/tconrate.c