You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Possible memory leak of cgroup in Domain.SetThrottleGroup #3
Note the cparams on the line above is released with a defer, but cgroup is not.
libvirt takes the group name as const char * and copies it, so the caller owns the
buffer. cgroup is a local, so no other function can reach it after the return.
Activity
andreabolognani commentedon Aug 31, 2026
Development of libvirt-go-module happens on GitLab: https://gitlab.com/libvirt/libvirt-go-module
Since you seem to already have a fix prepared, you can just open a merge request for it.