mirror of
https://github.com/qemu/qemu.git
synced 2025-10-27 22:03:47 +00:00
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> |
||
|---|---|---|
| .. | ||
| core.c | ||
| cpu_hotplug.c | ||
| ich9.c | ||
| Makefile.objs | ||
| pcihp.c | ||
| piix4.c | ||