Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5bcd0888
Commit
5bcd0888
authored
Dec 13, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Fixed refcounting in get_fd requests for named pipe and mailslot devices.
parent
435e36e3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mailslot.c
server/mailslot.c
+1
-1
named_pipe.c
server/named_pipe.c
+1
-1
No files found.
server/mailslot.c
View file @
5bcd0888
...
...
@@ -279,7 +279,7 @@ static void mailslot_device_dump( struct object *obj, int verbose )
static
struct
fd
*
mailslot_device_get_fd
(
struct
object
*
obj
)
{
struct
mailslot_device
*
device
=
(
struct
mailslot_device
*
)
obj
;
return
device
->
fd
;
return
(
struct
fd
*
)
grab_object
(
device
->
fd
)
;
}
static
struct
object
*
mailslot_device_lookup_name
(
struct
object
*
obj
,
struct
unicode_str
*
name
,
...
...
server/named_pipe.c
View file @
5bcd0888
...
...
@@ -411,7 +411,7 @@ static void named_pipe_device_dump( struct object *obj, int verbose )
static
struct
fd
*
named_pipe_device_get_fd
(
struct
object
*
obj
)
{
struct
named_pipe_device
*
device
=
(
struct
named_pipe_device
*
)
obj
;
return
device
->
fd
;
return
(
struct
fd
*
)
grab_object
(
device
->
fd
)
;
}
static
struct
object
*
named_pipe_device_lookup_name
(
struct
object
*
obj
,
struct
unicode_str
*
name
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment