Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
523da915
Commit
523da915
authored
May 02, 2022
by
Rémi Bernon
Committed by
Alexandre Julliard
May 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Set ARENA_FLAG_FREE flag in HEAP_CreateFreeBlock.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ba21d8fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
heap.c
dlls/ntdll/heap.c
+1
-2
No files found.
dlls/ntdll/heap.c
View file @
523da915
...
...
@@ -600,7 +600,6 @@ static inline void HEAP_InsertFreeBlock( HEAP *heap, ARENA_FREE *pArena, BOOL la
/* insert at head of free list */
list_add_after
(
&
pEntry
->
arena
.
entry
,
&
pArena
->
entry
);
}
pArena
->
size
|=
ARENA_FLAG_FREE
;
}
...
...
@@ -726,7 +725,7 @@ static void HEAP_CreateFreeBlock( SUBHEAP *subheap, void *ptr, SIZE_T size )
/* Last, insert the new block into the free list */
pFree
->
size
=
size
-
sizeof
(
*
pFree
)
;
pFree
->
size
=
(
size
-
sizeof
(
*
pFree
))
|
ARENA_FLAG_FREE
;
HEAP_InsertFreeBlock
(
subheap
->
heap
,
pFree
,
last
);
}
...
...
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