[PATCH 0/3] define g_autoptr for virNWFilterDef and virNWFilterRuleDef

Jiang Jiacheng posted 3 patches 1 year, 3 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20230109111931.2401851-1-jiangjiacheng@huawei.com
There is a newer version of this series
src/conf/nwfilter_conf.c       | 52 ++++++++++++++--------------------
src/conf/nwfilter_conf.h       |  2 ++
src/conf/virnwfilterobj.c      | 19 ++++++-------
src/nwfilter/nwfilter_driver.c |  7 ++---
tests/nwfilterxml2xmltest.c    | 22 ++++++--------
5 files changed, 42 insertions(+), 60 deletions(-)
[PATCH 0/3] define g_autoptr for virNWFilterDef and virNWFilterRuleDef
Posted by Jiang Jiacheng 1 year, 3 months ago
Define and use g_autoptr() for virNWFilterDef and virNWFilterRuleDef,
and remove unnecessary label/variable.

Those patches are followup with:
https://gitlab.com/libvirt/libvirt/-/commit/a9027d447be789cd11c0aa18ceb83ed79f677f86

Jiang Jiacheng (3):
  conf: define g_autoptr for virNWFilterDef and virNWFilterRuleDef
  src/tests: use g_autoptr for virNWFilterDef and virNWFilterRuleDef
  virNWFilterSaveConfig: remove the unnecessary variable 'ret'

 src/conf/nwfilter_conf.c       | 52 ++++++++++++++--------------------
 src/conf/nwfilter_conf.h       |  2 ++
 src/conf/virnwfilterobj.c      | 19 ++++++-------
 src/nwfilter/nwfilter_driver.c |  7 ++---
 tests/nwfilterxml2xmltest.c    | 22 ++++++--------
 5 files changed, 42 insertions(+), 60 deletions(-)

-- 
2.33.0