mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
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
This commit is contained in:
parent
b6ba8bdac3
commit
193078117d
@ -733,15 +733,12 @@ _PUBLIC_ struct composite_context* dcerpc_pipe_connect_b_send(TALLOC_CTX *parent
|
|||||||
{
|
{
|
||||||
struct composite_context *c;
|
struct composite_context *c;
|
||||||
struct pipe_connect_state *s;
|
struct pipe_connect_state *s;
|
||||||
struct tevent_context *new_ev = NULL;
|
|
||||||
|
|
||||||
/* composite context allocation and setup */
|
/* composite context allocation and setup */
|
||||||
c = composite_create(parent_ctx, ev);
|
c = composite_create(parent_ctx, ev);
|
||||||
if (c == NULL) {
|
if (c == NULL) {
|
||||||
talloc_free(new_ev);
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
talloc_steal(c, new_ev);
|
|
||||||
|
|
||||||
s = talloc_zero(c, struct pipe_connect_state);
|
s = talloc_zero(c, struct pipe_connect_state);
|
||||||
if (composite_nomem(s, c)) return c;
|
if (composite_nomem(s, c)) return c;
|
||||||
|
Loading…
Reference in New Issue
Block a user