Skip to content

ppc: get rid of free() (gitlab #1798)

Daniel Henrique Barboza qemu-devel qemu-trivial 1 version Applied

Status from this message: Applied to my trivial-patches branch adding suggested commit comment

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2hw/ppc: use g_free() in spapr_tce_table_post_load()hw/ppc/spapr_iommu.c+1 -11 reply
2/2target/ppc: use g_free() in test_opcode_table()target/ppc/translate.c+1 -12 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchPeter Maydell
1/2R-b
2/2

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

Read the v1 thread

Cover letter [PATCH for-8.2 0/2] ppc: get rid of free() (gitlab #1798)

Hello,

Here's some trivial changes following Peter's call to arms against free() and friends in gitlab issue #1798 in an attempt to enforce our memory management guidelines [1].

We only have 2 "free()" occurences that needs fixing in the ppc tree. The hard part is to be dilligent to to not introduce new ones.

Michael, feel free to take it via qemu-trivial.

[1] https://www.qemu.org/docs/master/devel/style.html#low-level-memory-management

Daniel Henrique Barboza (2):
hw/ppc: use g_free() in spapr_tce_table_post_load() target/ppc: use g_free() in test_opcode_table()

 hw/ppc/spapr_iommu.c   | 2 +-
 target/ppc/translate.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.41.0