libvirt/tools/wireshark/src
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
..
libvirt meson: Replace meson.source_root() with meson.project_source_root() 2022-10-10 15:06:09 +02:00
meson.build meson: Fix build with -Dtest_coverage=true 2021-01-19 16:25:50 +01:00
packet-libvirt.c Replace improper use of g_malloc(0) with g_new0 2024-11-01 15:52:18 +01:00
packet-libvirt.h tools: use #pragma once in headers 2019-06-19 17:12:34 +02:00
plugin.c wireshark: drop gmodule.h include to avoid glib warnings 2024-10-16 15:47:52 +01:00