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
884ead47
Commit
884ead47
authored
Jun 01, 2013
by
Akihiro Sagawa
Committed by
Alexandre Julliard
Jun 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Use LMEM_MOVEABLE when reallocating memory.
parent
1451aa58
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ifs.c
dlls/ole32/ifs.c
+1
-1
No files found.
dlls/ole32/ifs.c
View file @
884ead47
...
...
@@ -78,7 +78,7 @@ static int SetSpyedBlockTableLength ( DWORD NewLength )
LPVOID
*
NewSpyedBlocks
;
if
(
!
Malloc32
.
SpyedBlocks
)
NewSpyedBlocks
=
LocalAlloc
(
LMEM_ZEROINIT
,
NewLength
*
sizeof
(
PVOID
));
else
NewSpyedBlocks
=
LocalReAlloc
(
Malloc32
.
SpyedBlocks
,
NewLength
*
sizeof
(
PVOID
),
LMEM_ZEROINIT
);
else
NewSpyedBlocks
=
LocalReAlloc
(
Malloc32
.
SpyedBlocks
,
NewLength
*
sizeof
(
PVOID
),
LMEM_ZEROINIT
|
LMEM_MOVEABLE
);
if
(
NewSpyedBlocks
)
{
Malloc32
.
SpyedBlocks
=
NewSpyedBlocks
;
Malloc32
.
SpyedBlockTableLength
=
NewLength
;
...
...
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