summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-04-23 09:23:08 +0200
committerStefan Metzmacher <metze@samba.org>2012-04-23 12:17:08 +0200
commitdf27ba3e8b8a96c64b3966f2474391e5ec3cdec1 (patch)
tree7ac2d7f9a2b91cc7e34b01a696c2de9a392005cd /source4/librpc
parentdcf82e5869c885c1e62c4d317bb466a82cee249f (diff)
downloadsamba-df27ba3e8b8a96c64b3966f2474391e5ec3cdec1.tar.gz
samba-df27ba3e8b8a96c64b3966f2474391e5ec3cdec1.tar.bz2
samba-df27ba3e8b8a96c64b3966f2474391e5ec3cdec1.zip
s4:librpc/rpc: directly return after composite_error()
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Apr 23 12:17:08 CEST 2012 on sn-devel-104
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/rpc/dcerpc_sock.c2
1 files changed, 1 insertions, 1 deletions
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;
}