diff options
author | Volker Lendecke <vl@samba.org> | 2009-10-04 15:19:19 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-10-05 12:14:08 +0200 |
commit | 84de81b4786bed411199f2785a1eafc7c86db478 (patch) | |
tree | 7fa73dc8f8514c8d866d108953ac45acc13e0342 /source3/rpc_client | |
parent | d696f9a7ed0bb42c6d9de99ab07af27b00fe2d40 (diff) | |
download | samba-84de81b4786bed411199f2785a1eafc7c86db478.tar.gz samba-84de81b4786bed411199f2785a1eafc7c86db478.tar.bz2 samba-84de81b4786bed411199f2785a1eafc7c86db478.zip |
s3: Remove a scary error message -- talloc_move can not fail :-)
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 34b8616907..dc4dfbd3b2 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -3940,11 +3940,6 @@ NTSTATUS cli_rpc_pipe_open_schannel_with_key(struct cli_state *cli, * in - reference them in */ result->dc = talloc_move(result, pdc); - if (result->dc == NULL) { - DEBUG(0, ("talloc reference failed\n")); - TALLOC_FREE(result); - return NT_STATUS_NO_MEMORY; - } DEBUG(10,("cli_rpc_pipe_open_schannel_with_key: opened pipe %s to machine %s " "for domain %s and bound using schannel.\n", |