On 1/17/22 18:02, Ján Tomko wrote:
Refactor some functions to remove more manual virCommand freeing.
virNetDevBandwidthSet is left untouched.
Ján Tomko (6):
util: midonet: use g_auto for virCommand
util: virNetDevBandwidthUpdateRate: refactor
util: virNetDevBandwidthManipulateFilter: use g_auto
util: virNetDevBandwidthClear: use g_auto
util: refactor virNetDevBandwidthPlug
util: refactor virNetDevBandwidthUnplug
src/util/virnetdevbandwidth.c | 128 +++++++++++++---------------------
src/util/virnetdevmidonet.c | 20 ++----
2 files changed, 53 insertions(+), 95 deletions(-)
Reviewed-by: Michal Privoznik <mprivozn(a)redhat.com>
Michal