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
e26131fe
Commit
e26131fe
authored
Aug 25, 2015
by
Daniel Lehman
Committed by
Alexandre Julliard
Aug 26, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Use msvcrt free instead of HeapFree on tls data.
parent
bdaa571c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
main.c
dlls/msvcrt/main.c
+8
-8
No files found.
dlls/msvcrt/main.c
View file @
e26131fe
...
...
@@ -68,14 +68,14 @@ static inline void msvcrt_free_tls_mem(void)
if
(
tls
)
{
CloseHandle
(
tls
->
handle
);
HeapFree
(
GetProcessHeap
(),
0
,
tls
->
efcvt_buffer
);
HeapFree
(
GetProcessHeap
(),
0
,
tls
->
asctime_buffer
);
HeapFree
(
GetProcessHeap
(),
0
,
tls
->
wasctime_buffer
);
HeapFree
(
GetProcessHeap
(),
0
,
tls
->
strerror_buffer
);
HeapFree
(
GetProcessHeap
(),
0
,
tls
->
wcserror_buffer
);
HeapFree
(
GetProcessHeap
(),
0
,
tls
->
time_buffer
);
HeapFree
(
GetProcessHeap
(),
0
,
tls
->
tmpnam_buffer
);
HeapFree
(
GetProcessHeap
(),
0
,
tls
->
wtmpnam_buffer
);
MSVCRT_free
(
tls
->
efcvt_buffer
);
MSVCRT_free
(
tls
->
asctime_buffer
);
MSVCRT_free
(
tls
->
wasctime_buffer
);
MSVCRT_free
(
tls
->
strerror_buffer
);
MSVCRT_free
(
tls
->
wcserror_buffer
);
MSVCRT_free
(
tls
->
time_buffer
);
MSVCRT_free
(
tls
->
tmpnam_buffer
);
MSVCRT_free
(
tls
->
wtmpnam_buffer
);
if
(
tls
->
have_locale
)
{
free_locinfo
(
tls
->
locinfo
);
free_mbcinfo
(
tls
->
mbcinfo
);
...
...
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