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
424994c9
Commit
424994c9
authored
Jul 13, 2023
by
Tim Clem
Committed by
Alexandre Julliard
Jul 14, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wmp: Don't release a NULL typelib.
parent
710eec8f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
wmp_main.c
dlls/wmp/wmp_main.c
+2
-0
No files found.
dlls/wmp/wmp_main.c
View file @
424994c9
...
@@ -89,6 +89,7 @@ static void release_typelib(void)
...
@@ -89,6 +89,7 @@ static void release_typelib(void)
if
(
typeinfos
[
i
])
if
(
typeinfos
[
i
])
ITypeInfo_Release
(
typeinfos
[
i
]);
ITypeInfo_Release
(
typeinfos
[
i
]);
if
(
typelib
)
ITypeLib_Release
(
typelib
);
ITypeLib_Release
(
typelib
);
}
}
...
@@ -154,6 +155,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
...
@@ -154,6 +155,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
wmp_instance
=
hInstDLL
;
wmp_instance
=
hInstDLL
;
break
;
break
;
case
DLL_PROCESS_DETACH
:
case
DLL_PROCESS_DETACH
:
if
(
lpv
)
break
;
unregister_wmp_class
();
unregister_wmp_class
();
unregister_player_msg_class
();
unregister_player_msg_class
();
release_typelib
();
release_typelib
();
...
...
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