Skip to content

qom: strdup() target_name on object_property_add_alias()

Eduardo Habkost qemu-devel 1 version Applied

Status from this message: Thanks, applied to qom-next:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2qom: strdup() target property name on object_property_add_alias()qom/object.c+3 -20 replies
2/2qdev: Free property names after registering gpio aliaseshw/core/qdev.c+2 -00 replies

Reviews trailers per patch

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

PatchPaolo BonziniStefan Hajnoczi
SeriesR-b R-b
1/2
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 [Qemu-devel] [PATCH 0/2] qom: strdup() target_name on object_property_add_alias()

This helps us avoid memory leaks when using object_property_add_alias(), as it is not practical for callers to save target_name to free it later.

Eduardo Habkost (2):
qom: strdup() target property name on object_property_add_alias()
qdev: Free property names after registering gpio aliases

 hw/core/qdev.c | 2 ++
 qom/object.c   | 5 +++--
 2 files changed, 5 insertions(+), 2 deletions(-)
Signature · 1 line
2.1.0