acpi-build: properly decrement objects' reference counters
commit097a97a6650e29fd390f2a31f9e3a8ea7468f573
authorKirill Batuzov <batuzovk@ispras.ru>
Thu, 24 Apr 2014 14:15:57 +0000 (24 18:15 +0400)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 7 May 2014 09:13:42 +0000 (7 12:13 +0300)
treec63a3c55b803997ef95001236f2e63d1bc95855a
parent7c38ecd09763107513bacc791856fdbb582a107c
acpi-build: properly decrement objects' reference counters

Object returned by object_property_get_qobject needs its reference counter to
be decremented when it is not needed by caller anymore.

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>
hw/i386/acpi-build.c