vircgroup: correctly free nested virCgroupPtr

Fixes: 184245f53b

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
Pavel Hrdina 2021-02-15 18:20:09 +01:00
parent ee095c2312
commit 6a1f5e8a4f

View File

@ -3770,7 +3770,8 @@ virCgroupFree(virCgroupPtr group)
g_free(group->unified.mountPoint);
g_free(group->unified.placement);
g_free(group->unitName);
g_free(group->nested);
virCgroupFree(group->nested);
g_free(group);
}