commit | cc226c068f985e7788fcbf21e146efe54402eda1 | [log] [tgz] |
---|---|---|
author | Greg Kurz <groug@kaod.org> | Tue Nov 27 14:05:06 2018 +0100 |
committer | David Gibson <david@gibson.dropbear.id.au> | Fri Dec 21 09:24:23 2018 +1100 |
tree | e746dd34c00008e25fb3ad44e49fba2d237d58d4 | |
parent | 118abc71ed900e7a2cafa3c12eb39b0184f2ba22 [diff] |
target/ppc: 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> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>