s4-librpc: Remove unused new_ev
authorAndrew Bartlett <abartlet@samba.org>
Fri, 9 Mar 2012 04:30:00 +0000 (15:30 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 9 Mar 2012 06:18:45 +0000 (07:18 +0100)
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Mar  9 07:18:45 CET 2012 on sn-devel-104

source4/librpc/rpc/dcerpc_connect.c

index 634e3f4dedb66cb1a76aafe59852e52693955d2e..8cf60e63e28b081ffacf1e00378bc6b658ca5be2 100644 (file)
@@ -733,15 +733,12 @@ _PUBLIC_ struct composite_context* dcerpc_pipe_connect_b_send(TALLOC_CTX *parent
 {
        struct composite_context *c;
        struct pipe_connect_state *s;
-       struct tevent_context *new_ev = NULL;
 
        /* composite context allocation and setup */
        c = composite_create(parent_ctx, ev);
        if (c == NULL) {
-               talloc_free(new_ev);
                return NULL;
        }
-       talloc_steal(c, new_ev);
 
        s = talloc_zero(c, struct pipe_connect_state);
        if (composite_nomem(s, c)) return c;