Closed memory leak on error path.
authorSteven Danneman <steven.danneman@isilon.com>
Wed, 27 Feb 2008 04:33:30 +0000 (20:33 -0800)
committerVolker Lendecke <vl@samba.org>
Wed, 27 Feb 2008 06:24:14 +0000 (07:24 +0100)
source/rpc_client/cli_pipe.c

index bfcc20bcc1f532483721e33987774f0f3ec14189..43c3044ce4fb2e3c7be98967769ad8412440ab4d 100644 (file)
@@ -1806,6 +1806,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;
        }