[PATCH 0/4] use g_autofree and g_autoptr

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

 



This uses g_autofree (if possible) in files: vsh-table,
     netdev_bandwidth_conf and g_autoptr instead of
     virNetDevBandwidthFree where possible.

Kristina Hanicova (4):
  vsh-table: Use g_autofree where possible
  netdev_bandwidth_conf: Use g_autofree where possible
  Use g_autoptr instead of virNetDevBandwidthFree where possible
  netdev_bandwidth_conf: Remove redundant variables/labels

 src/conf/netdev_bandwidth_conf.c | 67 ++++++++++++--------------------
 src/network/bridge_driver.c      |  6 +--
 src/qemu/qemu_driver.c           | 11 ++----
 src/test/test_driver.c           |  3 +-
 src/util/virnetdevbandwidth.h    |  2 +
 tests/virnetdevbandwidthtest.c   |  3 +-
 tools/vsh-table.c                | 16 +++-----
 7 files changed, 40 insertions(+), 68 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