[libvirt] [PATCH] Don't leak memory if a cgroup is mounted multiple times

2011-08-31 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com It is possible (expected/likely in Fedora 15) for a cgroup controller to be mounted in multiple locations at the same time, due to bind mounts. Currently we leak memory if this happens, because we overwrite the previous 'mountPoint' string. Instead

Re: [libvirt] [PATCH] Don't leak memory if a cgroup is mounted multiple times

2011-08-31 Thread Eric Blake
On 08/31/2011 09:47 AM, Daniel P. Berrange wrote: From: Daniel P. Berrangeberra...@redhat.com It is possible (expected/likely in Fedora 15) for a cgroup controller to be mounted in multiple locations at the same time, due to bind mounts. Currently we leak memory if this happens, because we