rpcrt4: Fix the error handling in RpcBindingSetAuthInfoA/W when RpcAuthInfo_Create...
commitfef5ce52ce380c17de68ef1cd7df063e364f2846
authorRob Shearman <rob@codeweavers.com>
Wed, 23 Jan 2008 16:32:45 +0000 (23 16:32 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 23 Jan 2008 19:45:44 +0000 (23 20:45 +0100)
tree36e2b7a2ce644966c712e03a352681f2f7efb974
parent5819b90f9534b220fe3790b7a1cbe45624c0c2cd
rpcrt4: Fix the error handling in RpcBindingSetAuthInfoA/W when RpcAuthInfo_Create fails.

Don't release the old auth info until we successfully have a new auth
info and return failure to the caller if RpcAuthInfo_Create fails.
dlls/rpcrt4/rpc_binding.c