diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2015-04-09 16:57:29 -0300 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2015-06-19 10:29:14 +0200 |
commit | 1590d266d96b3f9b42443d6388dfc38f527ac2d8 (patch) | |
tree | e275782435e002cfcd90796a4da81a990e397c9a /scripts/qmp | |
parent | 8ffe756da0481233e1bd518b2b16489f51856292 (diff) |
qom: strdup() target property name on object_property_add_alias()
With this, object_property_add_alias() callers can safely free the
target property name, like what already happens with the 'name' argument
to all object_property_add*() functions.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'scripts/qmp')
0 files changed, 0 insertions, 0 deletions