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
2ac66e33
Commit
2ac66e33
authored
Sep 06, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
Oct 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
objsel: Do not check for a NULL interface in COM methods.
parent
026c7fc6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
objsel.c
dlls/objsel/objsel.c
+0
-10
No files found.
dlls/objsel/objsel.c
View file @
2ac66e33
...
@@ -59,8 +59,6 @@ static ULONG WINAPI OBJSEL_IDsObjectPicker_AddRef(IDsObjectPicker * iface)
...
@@ -59,8 +59,6 @@ static ULONG WINAPI OBJSEL_IDsObjectPicker_AddRef(IDsObjectPicker * iface)
TRACE
(
"
\n
"
);
TRACE
(
"
\n
"
);
if
(
This
==
NULL
)
return
E_POINTER
;
return
InterlockedIncrement
(
&
This
->
ref
);
return
InterlockedIncrement
(
&
This
->
ref
);
}
}
...
@@ -75,8 +73,6 @@ static ULONG WINAPI OBJSEL_IDsObjectPicker_Release(IDsObjectPicker * iface)
...
@@ -75,8 +73,6 @@ static ULONG WINAPI OBJSEL_IDsObjectPicker_Release(IDsObjectPicker * iface)
TRACE
(
"
\n
"
);
TRACE
(
"
\n
"
);
if
(
This
==
NULL
)
return
E_POINTER
;
ref
=
InterlockedDecrement
(
&
This
->
ref
);
ref
=
InterlockedDecrement
(
&
This
->
ref
);
if
(
ref
==
0
)
if
(
ref
==
0
)
...
@@ -209,9 +205,6 @@ static ULONG WINAPI class_factory_AddRef(IClassFactory *iface)
...
@@ -209,9 +205,6 @@ static ULONG WINAPI class_factory_AddRef(IClassFactory *iface)
TRACE
(
"
\n
"
);
TRACE
(
"
\n
"
);
if
(
!
factory
)
return
E_POINTER
;
return
InterlockedIncrement
(
&
factory
->
ref
);
return
InterlockedIncrement
(
&
factory
->
ref
);
}
}
...
@@ -222,9 +215,6 @@ static ULONG WINAPI class_factory_Release(IClassFactory *iface)
...
@@ -222,9 +215,6 @@ static ULONG WINAPI class_factory_Release(IClassFactory *iface)
TRACE
(
"
\n
"
);
TRACE
(
"
\n
"
);
if
(
!
factory
)
return
E_POINTER
;
return
InterlockedDecrement
(
&
factory
->
ref
);
return
InterlockedDecrement
(
&
factory
->
ref
);
}
}
...
...
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