tevent: don't call TALLOC_FREE(ev->additional_data) in std_fallback_to_poll()
authorStefan Metzmacher <metze@samba.org>
Sun, 17 Feb 2013 15:40:20 +0000 (16:40 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 1 Mar 2013 20:00:20 +0000 (12:00 -0800)
The epoll backend has done the cleanup already.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/tevent/tevent_standard.c

index d7a5bd7b1806e574e831d6622264850d524d3ee4..a9c6170320f2cbe8bd9fc7bfba717e30e72d0727 100644 (file)
@@ -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.