Skip to content

util: Trivial cleanups around g_malloc()

Markus Armbruster qemu-devel qemu-trivial 1 version Applied

Status from this message: Applied to trivial (fixing 2/3 subject prefix), thank you!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3util: Drop superfluous conditionals around g_free()util/uri.c+22 -260 replies
2/3Fuse g_malloc(); memset() into g_new0()util/uri.c+1 -21 reply
3/3util: Use g_new() & friends where that makes obvious senseutil/hbitmap.c util/iov.c+4 -40 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEric BlakeFam Zheng
SeriesR-b R-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] util: Trivial cleanups around g_malloc()

Markus Armbruster (3):
util: Drop superfluous conditionals around g_free() Fuse g_malloc(); memset() into g_new0()
util: Use g_new() & friends where that makes obvious sense

 util/hbitmap.c |  4 ++--
 util/iov.c     |  4 ++--
 util/uri.c     | 51 +++++++++++++++++++++++----------------------------
 3 files changed, 27 insertions(+), 32 deletions(-)
Signature · 1 line
1.9.3