unix_msg: Fix CID 1372875 Double close
authorVolker Lendecke <vl@samba.org>
Wed, 14 Sep 2016 05:13:38 +0000 (07:13 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 14 Sep 2016 13:42:26 +0000 (15:42 +0200)
commit5f764be23d46194a63c81fa6743e555eebce1458
tree472fd5dc4d89279f71680fcb0d671e495241bab0
parent9f6015f8a61f71db7239fb8dce94781629b1d4cc
unix_msg: Fix CID 1372875 Double close

The two error callers of unix_dgram_sendq_schedule_free already run down the
sendq in the error case.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
source3/lib/unix_msg/unix_msg.c