summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorKirill Batuzov2014-04-24 16:15:56 +0200
committerMichael S. Tsirkin2014-05-07 11:13:42 +0200
commit7c38ecd09763107513bacc791856fdbb582a107c (patch)
tree9688dde552fbf182ef80bf5d7ac5937774dd6a47 /include/exec
parentMerge remote-tracking branch 'remotes/kraxel/tags/pull-smbios-2' into staging (diff)
downloadqemu-7c38ecd09763107513bacc791856fdbb582a107c.tar.gz
qemu-7c38ecd09763107513bacc791856fdbb582a107c.tar.xz
qemu-7c38ecd09763107513bacc791856fdbb582a107c.zip
acpi/pcihp.c: Rewrite acpi_pcihp_get_bsel using object_property_get_int
acpi_pcihp_get_bsel implements functionality of object_property_get_int for specific property named ACPI_PCIHP_PROP_BSEL, but fails to decrement object's reference counter properly. Rewriting it using generic object_property_get_int serves two purposes: reducing code duplication and fixing memory leak. Signed-off-by: Kirill Batuzov <batuzovk@ispras.ru> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions