summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-17 16:40:20 +0100
committerJeremy Allison <jra@samba.org>2013-03-01 12:00:20 -0800
commit3fc93164fb83e396e2b757672d65269509fa7148 (patch)
treec1ad6a03f24567ee67bebb7e86bfecaa33ddc9cc /lib
parent73dabddbdce99c5bc19a4be814f88da581e6d372 (diff)
downloadsamba-3fc93164fb83e396e2b757672d65269509fa7148.tar.gz
samba-3fc93164fb83e396e2b757672d65269509fa7148.tar.bz2
samba-3fc93164fb83e396e2b757672d65269509fa7148.zip
tevent: don't call TALLOC_FREE(ev->additional_data) in std_fallback_to_poll()
The epoll backend has done the cleanup already. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/tevent/tevent_standard.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/tevent/tevent_standard.c b/lib/tevent/tevent_standard.c
index d7a5bd7b18..a9c6170320 100644
--- a/lib/tevent/tevent_standard.c
+++ b/lib/tevent/tevent_standard.c
@@ -68,7 +68,6 @@ static bool std_fallback_to_poll(struct tevent_context *ev, bool replay)
/* First switch all the ops to poll. */
glue->epoll_ops = NULL;
- TALLOC_FREE(ev->additional_data);
/*
* Set custom_ops the same as poll.