[PATCH v2 0/3] Use g_autoptr and g_autofree

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

 



This is v2 from
https://listman.redhat.com/archives/libvir-list/2021-February/msg01129.html

I changed variable names in patch 1/3 as suggested by Laine. Patches 2/3
and 3/3 have already been reviewed-by and I am sending them for
completeness.

This uses g_autofree (if possible) in file networkcommon_conf and
g_autoptr instead of virNetDevIPRouteFree where possible.


Kristina Hanicova (3):
  networkcommon_conf: Use g_autofree where possible
  Use g_autoptr instead of virNetDevIPRouteFree if possible
  Remove redundant variables/labels

 src/conf/domain_conf.c        |  3 +-
 src/conf/networkcommon_conf.c | 90 +++++++++++++++--------------------
 src/lxc/lxc_native.c          | 10 ++--
 src/vz/vz_sdk.c               |  3 +-
 4 files changed, 44 insertions(+), 62 deletions(-)

-- 
2.29.2




[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