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
ac6db331
Commit
ac6db331
authored
Sep 17, 2010
by
Aric Stewart
Committed by
Alexandre Julliard
Sep 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Return E_OUTOFMEMORY of the StdMemAllocator is unable to allocate memory.
parent
ffe9cc87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
memallocator.c
dlls/quartz/memallocator.c
+3
-0
No files found.
dlls/quartz/memallocator.c
View file @
ac6db331
...
...
@@ -802,6 +802,9 @@ static HRESULT StdMemAllocator_Alloc(IMemAllocator * iface)
/* allocate memory */
This
->
pMemory
=
VirtualAlloc
(
NULL
,
(
This
->
base
.
props
.
cbBuffer
+
This
->
base
.
props
.
cbPrefix
)
*
This
->
base
.
props
.
cBuffers
,
MEM_COMMIT
,
PAGE_READWRITE
);
if
(
!
This
->
pMemory
)
return
E_OUTOFMEMORY
;
for
(
i
=
This
->
base
.
props
.
cBuffers
-
1
;
i
>=
0
;
i
--
)
{
/* pbBuffer does not start at the base address, it starts at base + cbPrefix */
...
...
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