From df27ba3e8b8a96c64b3966f2474391e5ec3cdec1 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 23 Apr 2012 09:23:08 +0200 Subject: s4:librpc/rpc: directly return after composite_error() metze Autobuild-User: Stefan Metzmacher Autobuild-Date: Mon Apr 23 12:17:08 CEST 2012 on sn-devel-104 --- source4/librpc/rpc/dcerpc_sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/librpc') diff --git a/source4/librpc/rpc/dcerpc_sock.c b/source4/librpc/rpc/dcerpc_sock.c index a291996f8c..58fca4ce37 100644 --- a/source4/librpc/rpc/dcerpc_sock.c +++ b/source4/librpc/rpc/dcerpc_sock.c @@ -283,8 +283,8 @@ static void continue_socket_connect(struct composite_context *ctx) sock->packet = packet_init(sock); if (sock->packet == NULL) { - composite_error(c, NT_STATUS_NO_MEMORY); talloc_free(sock); + composite_error(c, NT_STATUS_NO_MEMORY); return; } -- cgit