From 5f764be23d46194a63c81fa6743e555eebce1458 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 14 Sep 2016 07:13:38 +0200 Subject: [PATCH] unix_msg: Fix CID 1372875 Double close MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The two error callers of unix_dgram_sendq_schedule_free already run down the sendq in the error case. Signed-off-by: Volker Lendecke Reviewed-by: Ralph Böhme --- source3/lib/unix_msg/unix_msg.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source3/lib/unix_msg/unix_msg.c b/source3/lib/unix_msg/unix_msg.c index 8645c97a2de7..50c8c09efa2f 100644 --- a/source3/lib/unix_msg/unix_msg.c +++ b/source3/lib/unix_msg/unix_msg.c @@ -470,7 +470,6 @@ static int unix_dgram_sendq_schedule_free(struct unix_dgram_send_queue *q) unix_dgram_sendq_scheduled_free_handler, q); if (q->timeout == NULL) { - unix_dgram_send_queue_free(q); return ENOMEM; } -- 2.34.1