git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd3868a
)
ctdbd_conn: remove unused fde from struct ctdbd_connection
author
Ralph Boehme
<slow@samba.org>
Tue, 27 Dec 2016 14:41:51 +0000
(15:41 +0100)
committer
David Disseldorp
<ddiss@samba.org>
Wed, 28 Dec 2016 00:29:21 +0000
(
01:29
+0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12485
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
source3/lib/ctdbd_conn.c
patch
|
blob
|
history
diff --git
a/source3/lib/ctdbd_conn.c
b/source3/lib/ctdbd_conn.c
index 118f3a026382e4d06fa4ff902531bdcd11898e04..d16796f4038279780836d3879f09e4dfba2dd998 100644
(file)
--- a/
source3/lib/ctdbd_conn.c
+++ b/
source3/lib/ctdbd_conn.c
@@
-50,7
+50,6
@@
struct ctdbd_connection {
uint64_t rand_srvid;
struct ctdbd_srvid_cb *callbacks;
int fd;
- struct tevent_fd *fde;
int timeout;
};
@@
-394,7
+393,6
@@
static int ctdb_read_req(struct ctdbd_connection *conn, uint32_t reqid,
static int ctdbd_connection_destructor(struct ctdbd_connection *c)
{
- TALLOC_FREE(c->fde);
if (c->fd != -1) {
close(c->fd);
c->fd = -1;