torture: fixed socket leak in BENCH-TCON test
commit893564bc6412256aab728819aaa65b2b8a608813
authorAndrew Tridgell <tridge@samba.org>
Mon, 12 Oct 2009 05:11:53 +0000 (12 16:11 +1100)
committerAndrew Tridgell <tridge@samba.org>
Mon, 12 Oct 2009 05:11:53 +0000 (12 16:11 +1100)
treea2969ca50a95294ba58a215a3c53c5c1b7e0efc3
parent2b9818ce0fe5ab4b27972b154981cf60ff3acc78
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
source4/torture/raw/tconrate.c