rpcss: Fix a file handle leak in RPCSS_BecomePipeServer().
commitc69ebe3b472d0d1328f9fafdcf3d34c3cfa4c558
authorFrancois Gouget <fgouget@free.fr>
Thu, 8 Mar 2007 14:30:29 +0000 (8 15:30 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 8 Mar 2007 21:17:05 +0000 (8 22:17 +0100)
tree048224ee2eef7f3fd69320a94ec9421ecf1d957d
parent66c37f518468e801b407ce11f259b508e2027427
rpcss: Fix a file handle leak in RPCSS_BecomePipeServer().

Also, RPCSS_NPConnect() returns a file handle so treat it as such by
checking it against INVALID_HANDLE_VALUE and not NULL.
programs/rpcss/np_server.c