]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: cgroup: modify virCgroupFree to take virCgroupPtr
authorSukrit Bhatnagar <skrtbhtngr@gmail.com>
Tue, 24 Jul 2018 15:52:08 +0000 (21:22 +0530)
committerErik Skultety <eskultet@redhat.com>
Fri, 27 Jul 2018 15:19:17 +0000 (17:19 +0200)
commit0f80c71822d82465d558d697d3be9af2d21e3675
tree0afbfaf7860b317ebdd84894d077497fb229a22e
parent0c5e7435ca9db2b564ac7a545c59ac09558c9f16
util: cgroup: modify virCgroupFree to take virCgroupPtr

Modify virCgroupFree function signature to take a value of type
virCgroupPtr instead of virCgroupPtr * as the parameter.

Change the argument type in all calls to virCgroupFree function
from virCgroupPtr * to virCgroupPtr. This is a step towards
having consistent function signatures for Free helpers so that
they can be used with VIR_AUTOPTR cleanup macro.

Signed-off-by: Sukrit Bhatnagar <skrtbhtngr@gmail.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
13 files changed:
src/libvirt-lxc.c
src/lxc/lxc_cgroup.c
src/lxc/lxc_container.c
src/lxc/lxc_controller.c
src/lxc/lxc_domain.c
src/lxc/lxc_process.c
src/qemu/qemu_cgroup.c
src/qemu/qemu_domain.c
src/qemu/qemu_driver.c
src/qemu/qemu_process.c
src/util/vircgroup.c
src/util/vircgroup.h
tests/vircgrouptest.c