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
6fb5155f
Commit
6fb5155f
authored
May 08, 2014
by
Piotr Caban
Committed by
Alexandre Julliard
May 08, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp: Fix global_locale leak.
parent
ea7baf53
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
locale.c
dlls/msvcp60/locale.c
+2
-1
locale.c
dlls/msvcp90/locale.c
+2
-1
No files found.
dlls/msvcp60/locale.c
View file @
6fb5155f
...
...
@@ -8696,8 +8696,9 @@ void free_locale(void)
facets_elem
*
iter
,
*
safe
;
if
(
global_locale
)
{
locale__Locimp_dtor
(
global_locale
);
locale_dtor
(
&
classic_locale
);
locale__Locimp_dtor
(
global_locale
);
MSVCRT_operator_delete
(
global_locale
);
}
LIST_FOR_EACH_ENTRY_SAFE
(
iter
,
safe
,
&
lazy_facets
,
facets_elem
,
entry
)
{
...
...
dlls/msvcp90/locale.c
View file @
6fb5155f
...
...
@@ -10690,8 +10690,9 @@ void free_locale(void)
facets_elem
*
iter
,
*
safe
;
if
(
global_locale
)
{
locale__Locimp_dtor
(
global_locale
);
locale_dtor
(
&
classic_locale
);
locale__Locimp_dtor
(
global_locale
);
MSVCRT_operator_delete
(
global_locale
);
}
LIST_FOR_EACH_ENTRY_SAFE
(
iter
,
safe
,
&
lazy_facets
,
facets_elem
,
entry
)
{
...
...
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