summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-09 15:30:00 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-03-09 07:18:45 +0100
commit193078117d09732fa9c812303f505e59cc047c2b (patch)
tree5a5634f7ee3393b037cca5aa5aa6924a06c178ab /source4/librpc/rpc
parentb6ba8bdac33166bb864bbc9d98c5086cb7f9c969 (diff)
downloadsamba-193078117d09732fa9c812303f505e59cc047c2b.tar.gz
samba-193078117d09732fa9c812303f505e59cc047c2b.tar.bz2
samba-193078117d09732fa9c812303f505e59cc047c2b.zip
s4-librpc: Remove unused new_ev
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Mar 9 07:18:45 CET 2012 on sn-devel-104
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r--source4/librpc/rpc/dcerpc_connect.c3
1 files changed, 0 insertions, 3 deletions
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;