git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f6015f
)
unix_msg: Fix CID 1372875 Double close
author
Volker Lendecke
<vl@samba.org>
Wed, 14 Sep 2016 05:13:38 +0000
(07:13 +0200)
committer
Volker Lendecke
<vl@samba.org>
Wed, 14 Sep 2016 13:42:26 +0000
(15:42 +0200)
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
patch
|
blob
|
history
diff --git
a/source3/lib/unix_msg/unix_msg.c
b/source3/lib/unix_msg/unix_msg.c
index 8645c97a2de7fcb10890ebdd3a1470bb79912b8c..50c8c09efa2f8c49a4ace87f62280be3b68622c0 100644
(file)
--- 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;
}