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
156d66ec
Commit
156d66ec
authored
Feb 01, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Avoid reporting a freed block twice to Valgrind.
parent
c318f4f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
heap.c
dlls/ntdll/heap.c
+2
-3
No files found.
dlls/ntdll/heap.c
View file @
156d66ec
...
@@ -281,9 +281,8 @@ static void subheap_notify_free_all(SUBHEAP const *subheap)
...
@@ -281,9 +281,8 @@ static void subheap_notify_free_all(SUBHEAP const *subheap)
else
else
{
{
ARENA_INUSE
const
*
pArena
=
(
ARENA_INUSE
const
*
)
ptr
;
ARENA_INUSE
const
*
pArena
=
(
ARENA_INUSE
const
*
)
ptr
;
if
(
pArena
->
magic
!=
ARENA_INUSE_MAGIC
&&
pArena
->
magic
!=
ARENA_PENDING_MAGIC
)
if
(
pArena
->
magic
==
ARENA_INUSE_MAGIC
)
notify_free
(
pArena
+
1
);
ERR
(
"bad inuse_magic @%p
\n
"
,
pArena
);
else
if
(
pArena
->
magic
!=
ARENA_PENDING_MAGIC
)
ERR
(
"bad inuse_magic @%p
\n
"
,
pArena
);
notify_free
(
pArena
+
1
);
ptr
+=
sizeof
(
*
pArena
)
+
(
pArena
->
size
&
ARENA_SIZE_MASK
);
ptr
+=
sizeof
(
*
pArena
)
+
(
pArena
->
size
&
ARENA_SIZE_MASK
);
}
}
}
}
...
...
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