On 2014-12-04 at 13:55, Markus Armbruster wrote:
g_new(T, 1) is safer than g_malloc(sizeof(T)), because it returns T * rather than void *, which lets the compiler catch more type errors.Missed in commit 02c4f26. Signed-off-by: Markus Armbruster <arm...@redhat.com> --- aio-posix.c | 2 +- aio-win32.c | 4 ++-- async.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
Thanks, applied to my block-next tree: https://github.com/XanClic/qemu/commits/block-next