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