Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b2edf2f0
Commit
b2edf2f0
authored
Jan 06, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Jan 06, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to add a reference to the apartment from new_stub_manager as
we don't hold on to an apartment pointer.
parent
830b58c0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
stubmanager.c
dlls/ole32/stubmanager.c
+0
-2
No files found.
dlls/ole32/stubmanager.c
View file @
b2edf2f0
...
@@ -41,7 +41,6 @@
...
@@ -41,7 +41,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
ole
);
WINE_DEFAULT_DEBUG_CHANNEL
(
ole
);
/* this refs the apartment on success, otherwise there is no ref */
struct
stub_manager
*
new_stub_manager
(
APARTMENT
*
apt
,
IUnknown
*
object
)
struct
stub_manager
*
new_stub_manager
(
APARTMENT
*
apt
,
IUnknown
*
object
)
{
{
struct
stub_manager
*
sm
;
struct
stub_manager
*
sm
;
...
@@ -72,7 +71,6 @@ struct stub_manager *new_stub_manager(APARTMENT *apt, IUnknown *object)
...
@@ -72,7 +71,6 @@ struct stub_manager *new_stub_manager(APARTMENT *apt, IUnknown *object)
list_add_head
(
&
apt
->
stubmgrs
,
&
sm
->
entry
);
list_add_head
(
&
apt
->
stubmgrs
,
&
sm
->
entry
);
LeaveCriticalSection
(
&
apt
->
cs
);
LeaveCriticalSection
(
&
apt
->
cs
);
COM_ApartmentAddRef
(
apt
);
TRACE
(
"Created new stub manager (oid=%s) at %p for object with IUnknown %p
\n
"
,
wine_dbgstr_longlong
(
sm
->
oid
),
sm
,
object
);
TRACE
(
"Created new stub manager (oid=%s) at %p for object with IUnknown %p
\n
"
,
wine_dbgstr_longlong
(
sm
->
oid
),
sm
,
object
);
return
sm
;
return
sm
;
...
...
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