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
7fda01e5
Commit
7fda01e5
authored
Nov 04, 2010
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Nov 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Change HeapRealloc call to CoTaskMemRealloc.
parent
4857772b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
filtergraph.c
dlls/quartz/filtergraph.c
+1
-1
No files found.
dlls/quartz/filtergraph.c
View file @
7fda01e5
...
...
@@ -99,7 +99,7 @@ static int EventsQueue_PutEvent(EventsQueue* omr, const Event* evt)
int
old_ring_buffer_size
=
omr
->
ring_buffer_size
;
omr
->
ring_buffer_size
+=
EVENTS_RING_BUFFER_INCREMENT
;
TRACE
(
"omr->ring_buffer_size=%d
\n
"
,
omr
->
ring_buffer_size
);
omr
->
messages
=
HeapReAlloc
(
GetProcessHeap
(),
0
,
omr
->
messages
,
omr
->
ring_buffer_size
*
sizeof
(
Event
));
omr
->
messages
=
CoTaskMemRealloc
(
omr
->
messages
,
omr
->
ring_buffer_size
*
sizeof
(
Event
));
/* Now we need to rearrange the ring buffer so that the new
buffers just allocated are in between omr->msg_tosave and
omr->msg_toget.
...
...
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