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
7fb89b12
Commit
7fb89b12
authored
Feb 26, 2019
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 26, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Add missing ObReferenceObject call to ObReferenceObjectByName.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d01cd45b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+7
-7
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
7fb89b12
...
@@ -283,6 +283,12 @@ static void dereference_kernel_object( void *obj )
...
@@ -283,6 +283,12 @@ static void dereference_kernel_object( void *obj )
header
->
type
->
release
(
obj
);
header
->
type
->
release
(
obj
);
}
}
static
void
ObReferenceObject
(
void
*
obj
)
{
TRACE
(
"(%p): stub
\n
"
,
obj
);
}
static
const
WCHAR
file_type_name
[]
=
{
'F'
,
'i'
,
'l'
,
'e'
,
0
};
static
const
WCHAR
file_type_name
[]
=
{
'F'
,
'i'
,
'l'
,
'e'
,
0
};
static
struct
_OBJECT_TYPE
file_type
=
{
static
struct
_OBJECT_TYPE
file_type
=
{
...
@@ -2631,17 +2637,11 @@ NTSTATUS WINAPI ObReferenceObjectByName( UNICODE_STRING *ObjectName,
...
@@ -2631,17 +2637,11 @@ NTSTATUS WINAPI ObReferenceObjectByName( UNICODE_STRING *ObjectName,
}
}
driver
=
WINE_RB_ENTRY_VALUE
(
entry
,
struct
wine_driver
,
entry
);
driver
=
WINE_RB_ENTRY_VALUE
(
entry
,
struct
wine_driver
,
entry
);
*
Object
=
&
driver
->
driver_obj
;
ObReferenceObject
(
*
Object
=
&
driver
->
driver_obj
)
;
return
STATUS_SUCCESS
;
return
STATUS_SUCCESS
;
}
}
static
void
ObReferenceObject
(
void
*
obj
)
{
TRACE
(
"(%p): stub
\n
"
,
obj
);
}
/***********************************************************************
/***********************************************************************
* ObReferenceObjectByPointer (NTOSKRNL.EXE.@)
* ObReferenceObjectByPointer (NTOSKRNL.EXE.@)
*/
*/
...
...
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