OSDN Git Service

tests/fw_cfg: Free QFWCFG object after qtest has run
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 21 May 2019 16:38:24 +0000 (18:38 +0200)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 23 May 2019 12:10:31 +0000 (14:10 +0200)
commit10b789b70cb78e7215f4efd2c568bec7b0b826a0
tree825ebeb287a678ffcaad2edd9b8d86858faff9c6
parent65461d124363d97b387337db9b970df60c31819d
tests/fw_cfg: Free QFWCFG object after qtest has run

We allocate the QFWCFG object previous to run the qtests,
free it once we are finished.

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