diff options
author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2024-06-27 22:37:53 +0900 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-07-02 09:34:14 +0200 |
commit | eefd26b8766d1db527946070510970af07ca033f (patch) | |
tree | c20307755a5ed4a4440e3519a881624e2ef09c9c /scripts/qapi/parser.py | |
parent | ada9311de31720c1b347e42582c0540914f2ffa6 (diff) | |
download | qemu-eefd26b8766d1db527946070510970af07ca033f.zip qemu-eefd26b8766d1db527946070510970af07ca033f.tar.gz qemu-eefd26b8766d1db527946070510970af07ca033f.tar.bz2 |
tests/qtest: Use qtest_add_data_func_full()
A test function may not be executed depending on the test command line
so it is wrong to free data with a test function. Use
qtest_add_data_func_full() to register a function to free data.
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20240627-san-v2-10-750bb0946dbd@daynix.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions