Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
c217dd36
Commit
c217dd36
authored
Jul 11, 2018
by
Piotr Caban
Committed by
Alexandre Julliard
Jul 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp120: Fix concurrent_vector_int_dtor helper.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ff529f46
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
msvcp120.c
dlls/msvcp120/tests/msvcp120.c
+7
-3
No files found.
dlls/msvcp120/tests/msvcp120.c
View file @
c217dd36
...
...
@@ -2576,10 +2576,14 @@ static void concurrent_vector_int_dtor(vector_base_v4 *this)
blocks
=
(
size_t
)
call_func2
(
p_vector_base_v4__Internal_clear
,
this
,
concurrent_vector_int_destroy
);
while
(
this
->
first_block
&&
blocks
>=
this
->
first_block
)
{
for
(
blocks
--
;
blocks
>=
this
->
first_block
;
blocks
--
)
{
vector_alloc_count
--
;
free
(
this
->
segment
[
blocks
-
this
->
first_block
]);
blocks
--
;
free
(
this
->
segment
[
blocks
]);
}
if
(
this
->
first_block
)
{
vector_alloc_count
--
;
free
(
this
->
segment
[
0
]);
}
call_func1
(
p_vector_base_v4_dtor
,
this
);
...
...
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