From 957869d2f473a5c63ea1e52ee628b929ad2208e7 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 19 Nov 2005 22:36:19 +0000 Subject: r11806: Minor cleanup (This used to be commit e75080b26d76199a6006fb076cf816ac023254ee) --- source4/librpc/rpc/dcerpc_auth.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'source4/librpc/rpc') diff --git a/source4/librpc/rpc/dcerpc_auth.c b/source4/librpc/rpc/dcerpc_auth.c index a5a90052ae..117112c197 100644 --- a/source4/librpc/rpc/dcerpc_auth.c +++ b/source4/librpc/rpc/dcerpc_auth.c @@ -47,17 +47,14 @@ struct composite_context *dcerpc_bind_auth_none_send(TALLOC_CTX *mem_ctx, if (!NT_STATUS_IS_OK(c->status)) { DEBUG(2,("Invalid uuid string in " "dcerpc_bind_auth_none_send\n")); - goto failed; + composite_trigger_error(c); + return c; } /* c was only allocated as a container for a possible error */ talloc_free(c); return dcerpc_bind_send(p, mem_ctx, &syntax, &transfer_syntax); - - failed: - composite_trigger_error(c); - return c; } NTSTATUS dcerpc_bind_auth_none_recv(struct composite_context *ctx) -- cgit