s3-lib: Don't close the listener twice if we goto failed.
authorAndreas Schneider <asn@samba.org>
Thu, 6 Dec 2012 10:11:15 +0000 (11:11 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 12 Dec 2012 22:14:44 +0000 (23:14 +0100)
commit74fb61d496348391a324fc69bb7b167597939d5b
treeb6cb88888835776ce11468bca17128e07f5ff0a1
parenta44e58a31ebecd6f467ffdac6645ffe6a313e9c6
s3-lib: Don't close the listener twice if we goto failed.

Found by Coverity.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source3/lib/sock_exec.c