Closed memory leak on error path.
authorSteven Danneman <steven.danneman@isilon.com>
Wed, 27 Feb 2008 04:14:04 +0000 (20:14 -0800)
committerVolker Lendecke <vl@samba.org>
Wed, 27 Feb 2008 06:23:28 +0000 (07:23 +0100)
(This used to be commit 376de8a0e4194e186b460911e3319b0f4448203e)

source3/rpc_client/cli_pipe.c

index 40d0ac5da9682f7e40538e1eb0b910e45955a2f7..c89c5531d7aa4b64688fc60da3a8d113f3092539 100644 (file)
@@ -1807,6 +1807,7 @@ static NTSTATUS rpc_finish_auth3_bind(struct rpc_pipe_client *cli,
        
        if (!NT_STATUS_IS_OK(nt_status)) {
                DEBUG(0,("rpc_finish_auth3_bind: NTLMSSP update using server blob failed.\n"));
+               data_blob_free(&server_response);
                return nt_status;
        }