[PATCH 2/2] src/tests: use g_autoptr for virNWFilterDef and virNWFilterRuleDef

Jiang Jiacheng jiangjiacheng at huawei.com
Mon Jan 9 09:26:32 UTC 2023



On 2023/1/6 20:11, Michal Prívozník wrote:
> On 1/6/23 10:58, Jiang Jiacheng wrote:
>> Use g_autoptr() for virNWFilterDef and virNWFilterRuleDef and remove
>> unnecessary label.
>>
>> Signed-off-by: Jiang Jiacheng <jiangjiacheng at huawei.com>
>> ---
>>  src/conf/nwfilter_conf.c       | 44 ++++++++++++++--------------------
>>  src/conf/virnwfilterobj.c      | 19 +++++++--------
>>  src/nwfilter/nwfilter_driver.c |  7 +++---
>>  tests/nwfilterxml2xmltest.c    | 22 +++++++----------
>>  4 files changed, 37 insertions(+), 55 deletions(-)
> 
> This patch fails to apply. It looks mangled. Are you sure you've used
> 'git send-email' to send it?
> 
> Michal
> 

Those patches is followup with commit 'a9027d447b', I'm sorry that I
haven't wrote the necessary information into the commit message.
I will resend them with correct commit message.



More information about the libvir-list mailing list