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

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

 



Define and use g_autoptr() for virNWFilterDef and virNWFilterRuleDef,
and remove unnecessary label.

Jiang Jiacheng (2):
  conf: define g_autoptr for virNWFilterDef and virNWFilterRuleDef
  src/tests: use g_autoptr for virNWFilterDef and virNWFilterRuleDef

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

-- 
2.33.0





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux