Fix for client accessing a named pipe after the server closes it.

diff --git a/server/fd.c b/server/fd.c
index 7417dee..191d126 100644
--- a/server/fd.c
+++ b/server/fd.c
@@ -987,7 +987,7 @@
 
     if ((obj = get_handle_obj( process, handle, access, NULL )))
     {
-        if (!(fd = get_obj_fd( obj ))) set_error( STATUS_OBJECT_TYPE_MISMATCH );
+        fd = get_obj_fd( obj );
         release_object( obj );
     }
     return fd;