commit | 1590d266d96b3f9b42443d6388dfc38f527ac2d8 | [log] [tgz] |
---|---|---|
author | Eduardo Habkost <ehabkost@redhat.com> | Thu Apr 09 16:57:29 2015 -0300 |
committer | Andreas Färber <afaerber@suse.de> | Fri Jun 19 10:29:14 2015 +0200 |
tree | e275782435e002cfcd90796a4da81a990e397c9a | |
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>