Commit 10b789b7 authored by Philippe Mathieu-Daudé's avatar Philippe Mathieu-Daudé
Browse files

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: default avatarLi Qiang <liq3ea@163.com>
Message-Id: <20190424140643.62457-2-liq3ea@163.com>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
[PMD: Split patch, fill commit description]
Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: default avatarLaszlo Ersek <lersek@redhat.com>
parent 65461d12
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -128,6 +128,7 @@ int main(int argc, char **argv)

    ret = g_test_run();

    pc_fw_cfg_uninit(fw_cfg);
    qtest_quit(s);

    return ret;