qom: strdup() target_name on object_property_add_alias()
Status from this message: Thanks, applied to qom-next:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | qom: strdup() target property name on object_property_add_alias()qom/ | +3 | 0 replies | |
| 2/2 | qdev: Free property names after registering gpio aliaseshw/ | +2 | 0 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.
| Patch | Paolo Bonzini | Stefan Hajnoczi |
|---|---|---|
| Series | R-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.
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