[PATCH 0/2] Cleanups of improper use of memory allocation APIs

Peter Krempa posted 2 patches 7 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1729845065.git.pkrempa@redhat.com
build-aux/syntax-check.mk            | 4 ++--
src/util/virpcivpd.c                 | 6 +++---
src/util/virstring.c                 | 4 +---
tools/wireshark/src/packet-libvirt.c | 2 +-
4 files changed, 7 insertions(+), 9 deletions(-)
[PATCH 0/2] Cleanups of improper use of memory allocation APIs
Posted by Peter Krempa 7 months, 3 weeks ago
Peter Krempa (2):
  Replace improper use of g_malloc(0) with g_new0
  virstring: Use 'g_new0' instead of improper use of 'g_malloc0_n'

 build-aux/syntax-check.mk            | 4 ++--
 src/util/virpcivpd.c                 | 6 +++---
 src/util/virstring.c                 | 4 +---
 tools/wireshark/src/packet-libvirt.c | 2 +-
 4 files changed, 7 insertions(+), 9 deletions(-)

-- 
2.47.0
Re: [PATCH 0/2] Cleanups of improper use of memory allocation APIs
Posted by Ján Tomko 7 months, 3 weeks ago
On a Friday in 2024, Peter Krempa wrote:
>Peter Krempa (2):
>  Replace improper use of g_malloc(0) with g_new0
>  virstring: Use 'g_new0' instead of improper use of 'g_malloc0_n'
>
> build-aux/syntax-check.mk            | 4 ++--
> src/util/virpcivpd.c                 | 6 +++---
> src/util/virstring.c                 | 4 +---
> tools/wireshark/src/packet-libvirt.c | 2 +-
> 4 files changed, 7 insertions(+), 9 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano