commit | dec4ec40a110a43bf6304b9c4ee25663d059029d | [log] [tgz] |
---|---|---|
author | Greg Kurz <groug@kaod.org> | Tue Nov 27 14:05:18 2018 +0100 |
committer | David Gibson <david@gibson.dropbear.id.au> | Fri Dec 21 09:24:23 2018 +1100 |
tree | a063200388b35b4c2c1fadc3e2d7a32b65c38532 | |
parent | cc226c068f985e7788fcbf21e146efe54402eda1 [diff] |
spapr: 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> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>