Am 12.11.2012 11:37, schrieb Paolo Bonzini: > Il 12/11/2012 11:34, Kevin Wolf ha scritto: >>> Note that the change from g_malloc0() to g_slice_alloc() should be safe >>> since the freelist reuse case doesn't zero the AIOCB either. >> >> Of course the real reason is that all fields are set anyway. > > This doesn't necessarily apply for "subclasses", though. (It does for > the reason Stefan mentioned, but it is not possible to make it apparent > in the code).
See? I really shouldn't review code any more. :-) Kevin