dlls/rpcrt4

Ge van Geldorp gvg at reactos.com
Thu May 5 14:28:10 CDT 2005


Changelog:
  Hartmut Birr <hartmut.birr at gmx.de>
  - Clean up if named pipe is not available

Index: dlls/rpcrt4/rpcss_np_client.c
===================================================================
RCS file: /home/wine/wine/dlls/rpcrt4/rpcss_np_client.c,v
retrieving revision 1.4
diff -u -r1.4 rpcss_np_client.c
--- dlls/rpcrt4/rpcss_np_client.c	5 Sep 2003 23:08:32 -0000	1.4
+++ dlls/rpcrt4/rpcss_np_client.c	5 May 2005 19:25:39 -0000
@@ -84,7 +84,9 @@
     if (! WaitNamedPipeA(NAME_RPCSS_NAMED_PIPE, MASTER_MUTEX_WAITNAMEDPIPE_TIMEOUT))
     {
       ERR("Named pipe unavailable after waiting.  Something is probably wrong.\n");
-      return NULL;
+      CloseHandle(the_pipe);
+      the_pipe = NULL;
+      break;
     }
 
   }



More information about the wine-patches mailing list