From 193078117d09732fa9c812303f505e59cc047c2b Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 9 Mar 2012 15:30:00 +1100 Subject: s4-librpc: Remove unused new_ev Autobuild-User: Andrew Bartlett Autobuild-Date: Fri Mar 9 07:18:45 CET 2012 on sn-devel-104 --- source4/librpc/rpc/dcerpc_connect.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source4/librpc/rpc') diff --git a/source4/librpc/rpc/dcerpc_connect.c b/source4/librpc/rpc/dcerpc_connect.c index 634e3f4ded..8cf60e63e2 100644 --- a/source4/librpc/rpc/dcerpc_connect.c +++ b/source4/librpc/rpc/dcerpc_connect.c @@ -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; -- cgit