diff options
author | Greg Kurz | 2018-12-12 14:18:10 +0100 |
---|---|---|
committer | Greg Kurz | 2018-12-12 14:18:10 +0100 |
commit | 75607e0dcc89af8c3a1ee025bdaf5e91891e1ccd (patch) | |
tree | fcc2d574f43457fe63b34176ebd1c35dd74006fa /hw/core/loader.c | |
parent | 9p: use g_new(T, n) instead of g_malloc(sizeof(T) * n) (diff) | |
download | qemu-75607e0dcc89af8c3a1ee025bdaf5e91891e1ccd.tar.gz qemu-75607e0dcc89af8c3a1ee025bdaf5e91891e1ccd.tar.xz qemu-75607e0dcc89af8c3a1ee025bdaf5e91891e1ccd.zip |
xen/9pfs: use g_new(T, n) instead of g_malloc(sizeof(T) * n)
Because it is a recommended coding practice (see HACKING).
Signed-off-by: Greg Kurz <groug@kaod.org>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Diffstat (limited to 'hw/core/loader.c')
0 files changed, 0 insertions, 0 deletions