mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-09 09:14:57 +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.mountPoint);
|
||||||
g_free(group->unified.placement);
|
g_free(group->unified.placement);
|
||||||
g_free(group->unitName);
|
g_free(group->unitName);
|
||||||
g_free(group->nested);
|
|
||||||
|
virCgroupFree(group->nested);
|
||||||
|
|
||||||
g_free(group);
|
g_free(group);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user