1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +00:00

vircgroup: correctly free nested virCgroupPtr

Fixes: 184245f53b94fc84f727eb6e8a2aa52df02d69c0

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);
}