rpcrt4: Fix a file handle leak in RPCRT4_RPCSSOnDemandCall().
commitd3245723ae9a54b6c3cd6210dd2847053701bc49
authorFrancois Gouget <fgouget@codeweavers.com>
Thu, 8 Mar 2007 14:29:50 +0000 (8 15:29 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 8 Mar 2007 20:31:07 +0000 (8 21:31 +0100)
tree4f8c761a134de40bd8ca274fef8c73c38e0344d1
parent7b89fb5e35e8ad24bbfc2fdced1691897c7cea2e
rpcrt4: Fix a file handle leak in RPCRT4_RPCSSOnDemandCall().

Also, RPCRT4_RpcssNPConnect() returns a file handle so treat it as
such by checking it against INVALID_HANDLE_VALUE and not NULL.
dlls/rpcrt4/rpcrt4_main.c
dlls/rpcrt4/rpcss_np_client.c