qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 02/14] isa: Add isa_register_old_portio_list().


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH 02/14] isa: Add isa_register_old_portio_list().
Date: Wed, 17 Aug 2011 19:32:56 +0000

On Wed, Aug 17, 2011 at 7:07 PM, Avi Kivity <address@hidden> wrote:
> On 08/17/2011 10:23 AM, Blue Swirl wrote:
>>
>> >
>> >>  +        }
>> >>  +
>> >>  +        ops = g_new(MemoryRegionOps, 1);
>> >
>> >
>> >  g_new0(), we rely on initialized memory here
>>
>> Please avoid g_new/g_malloc until they are taught to use qemu_malloc
>> or was it the other way around.
>>
>
> Why?

http://lists.nongnu.org/archive/html/qemu-devel/2011-07/msg02620.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]