mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
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:
parent
ee095c2312
commit
6a1f5e8a4f
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user