I got burned by it in WIP patches. Let's not allow it anywhere.

Peter Krempa (2):
  Replace all use of 'g_new' with 'g_new0'
  syntax-check: Prohibit the non-clearing 'g_new'

 build-aux/syntax-check.mk | 2 +-
 src/network/network_pf.c  | 2 +-
 src/qemu/qemu_nbdkit.c    | 2 +-
 src/qemu/qemu_process.c   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.51.0

Reply via email to