Re: quartz: Use proper alloc/free functions for COM objects

2007-03-08 Thread Chris Robinson
On Thursday 08 March 2007 08:14:54 am you wrote: > While reading your Patch, I see the above Places, where the result > from the allocation is used without a NULL-check. > The other allocations are checked for NULL before used. > > Is this correct? It should NULL check, but I was mainly concerned

Re: quartz: Use proper alloc/free functions for COM objects

2007-03-08 Thread Detlef Riekenberg
On Do, 2007-03-08 at 03:06 -0800, Chris Robinson wrote: > Subject: [PATCH] quartz: Use proper alloc/free functions for COM > objects > +omr->messages = CoTaskMemAlloc(omr->ring_buffer_size * > sizeof(Event)); > +ZeroMemory(omr->messages, omr->ring