|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH 1/5] Convert calls to g_malloc() using casts to g_new() |
Date: | Thu, 20 Oct 2011 10:55:38 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 |
On 10/20/2011 10:03 AM, Stuart Brady wrote:
Convert calls to g_malloc() and g_malloc0() to g_new() and g_new0() respectively, in cases where the return value is casted to the same type as specified using sizeof() in the parameter to g_malloc() and assigned to a variable of that type.
This is likely to cause conflicts all over the place, and now is a very bad time to do so :( because people are trying to get their patches in during the soft feature freeze. I don't oppose the change, just the timing.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |