Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx> --- src/util/vircgroup.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/vircgroup.h b/src/util/vircgroup.h index 691bec610f..78770f5d3b 100644 --- a/src/util/vircgroup.h +++ b/src/util/vircgroup.h @@ -109,6 +109,8 @@ bool virCgroupNewIgnoreError(void); void virCgroupFree(virCgroupPtr group); +G_DEFINE_AUTOPTR_CLEANUP_FUNC(virCgroup, virCgroupFree); + bool virCgroupHasController(virCgroupPtr cgroup, int controller); int virCgroupPathOfController(virCgroupPtr group, unsigned int controller, -- 2.26.2