qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 10/15] tests/qtest: Use qtest_add_data_func_full()


From: Thomas Huth
Subject: Re: [PATCH v2 10/15] tests/qtest: Use qtest_add_data_func_full()
Date: Tue, 2 Jul 2024 08:14:18 +0200
User-agent: Mozilla Thunderbird

On 27/06/2024 15.37, Akihiko Odaki wrote:
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>
---
  tests/qtest/device-introspect-test.c | 7 +++----
  1 file changed, 3 insertions(+), 4 deletions(-)

Reviewed-by: Thomas Huth <thuth@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]