diff options
-rw-r--r-- | source4/librpc/rpc/dcerpc_sock.c | 2 |
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; } |