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
fd8868ba
Commit
fd8868ba
authored
Apr 01, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Apr 02, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Fix a reference count leak that would keep the module alive when it shouldn't.
parent
bc4bbb40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
urlmon_main.c
dlls/urlmon/urlmon_main.c
+8
-0
No files found.
dlls/urlmon/urlmon_main.c
View file @
fd8868ba
...
...
@@ -220,11 +220,19 @@ static void init_session(BOOL init)
for
(
i
=
0
;
i
<
sizeof
(
object_creation
)
/
sizeof
(
object_creation
[
0
]);
i
++
)
{
if
(
object_creation
[
i
].
protocol
)
{
if
(
init
)
{
IInternetSession_RegisterNameSpace
(
session
,
object_creation
[
i
].
cf
,
object_creation
[
i
].
clsid
,
object_creation
[
i
].
protocol
,
0
,
NULL
,
0
);
/* make sure that the AddRef on the class factory doesn't keep us loaded */
URLMON_UnlockModule
();
}
else
{
/* make sure that the Release on the class factory doesn't unload us */
URLMON_LockModule
();
IInternetSession_UnregisterNameSpace
(
session
,
object_creation
[
i
].
cf
,
object_creation
[
i
].
protocol
);
}
}
}
...
...
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