|
From: | Avi Kivity |
Subject: | Re: [Qemu-devel] [PATCH 02/14] isa: Add isa_register_old_portio_list(). |
Date: | Wed, 17 Aug 2011 12:07:13 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0 |
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? -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.
[Prev in Thread] | Current Thread | [Next in Thread] |