All three functions are not in hot path (all run once for the BDS lifecycle), so it's okay to convert to g_malloc0.
Fam Fam Zheng (3): vmdk: Switch to heap arrays for vmdk_write_cid vmdk: Switch to heap arrays for vmdk_read_cid vmdk: Switch to heap arrays for vmdk_parent_open block/vmdk.c | 47 +++++++++++++++++++++++++++++------------------ 1 file changed, 29 insertions(+), 18 deletions(-) -- 2.4.3