libvirt/build-aux
Peter Krempa bb4bd9d31f Replace improper use of g_malloc(0) with g_new0
Completely remove use of g_malloc (without zeroing of the allocated
memory) and forbid further use.

Replace use of g_malloc0 in cases where the variable holding the pointer
has proper type.

In all of the above cases we can use g_new0 instead.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2024-11-01 15:52:18 +01:00
..
check-spacing.pl syntax-check: Don't forbid curly braces around single line condition body 2020-09-15 15:20:23 +02:00
Makefile.in build-aux: introduce 'black' tool for python formatting 2023-11-03 14:06:35 -04:00
Makefile.nonreentrant lib: Replace qsort() with g_qsort_with_data() 2023-11-24 09:53:14 +01:00
meson.build build-aux: introduce 'black' tool for python formatting 2023-11-03 14:06:35 -04:00
syntax-check.mk Replace improper use of g_malloc(0) with g_new0 2024-11-01 15:52:18 +01:00