tests/libqos: Add io_fw_cfg_uninit() and mm_fw_cfg_uninit()
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 22 Apr 2019 09:57:30 +0000 (11:57 +0200)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 23 May 2019 12:10:31 +0000 (14:10 +0200)
commit0729d833d6d6f9ec7a865b3f1c2bb727bb9e604b
tree074a44ad29c77356c374ba1a971ffbc185d5e875
parenta2b45ea5087dbaf4a57b47763da61339b1e7adb1
tests/libqos: Add io_fw_cfg_uninit() and mm_fw_cfg_uninit()

The mm_fw_cfg_init() allocates a QFWCFG object,
add mm_fw_cfg_uninit() to deallocate it.
Similarly with io_fw_cfg_init(), add io_fw_cfg_uninit().

Signed-off-by: Li Qiang <liq3ea@163.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190424140643.62457-2-liq3ea@163.com>
[PMD: Split patch, filled commit description]
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
tests/libqos/fw_cfg.c
tests/libqos/fw_cfg.h