Module: wine Branch: master Commit: 7fda01e522bfd2053060c960de538880b18d7854 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7fda01e522bfd2053060c960de...
Author: Maarten Lankhorst m.b.lankhorst@gmail.com Date: Thu Nov 4 17:54:26 2010 +0100
quartz: Change HeapRealloc call to CoTaskMemRealloc.
---
dlls/quartz/filtergraph.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c index 18bf97c..c2f61f2 100644 --- a/dlls/quartz/filtergraph.c +++ b/dlls/quartz/filtergraph.c @@ -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.