[PATCH 0/3] Use g_autoptr and g_autofree

Kristina Hanicova posted 3 patches 3 years, 2 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1614100068.git.khanicov@redhat.com
There is a newer version of this series
src/conf/domain_conf.c        |  3 +-
src/conf/networkcommon_conf.c | 74 +++++++++++++++--------------------
src/lxc/lxc_native.c          | 10 ++---
src/vz/vz_sdk.c               |  3 +-
4 files changed, 36 insertions(+), 54 deletions(-)
[PATCH 0/3] Use g_autoptr and g_autofree
Posted by Kristina Hanicova 3 years, 2 months ago
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 | 74 +++++++++++++++--------------------
 src/lxc/lxc_native.c          | 10 ++---
 src/vz/vz_sdk.c               |  3 +-
 4 files changed, 36 insertions(+), 54 deletions(-)

-- 
2.29.2