Re: [libvirt] [PATCH] lxc: monitor now holds a reference to the domain

2016-12-08 Thread Michal Privoznik
On 06.12.2016 15:39, Cédric Bosdonnat wrote: > If the monitor doesn't hold a reference to the domain object > the object may be destroyed before the monitor actually stops. > --- > src/lxc/lxc_monitor.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/src/lxc/lxc_monitor.c b/src/lxc/lx

[libvirt] [PATCH] lxc: monitor now holds a reference to the domain

2016-12-06 Thread Cédric Bosdonnat
If the monitor doesn't hold a reference to the domain object the object may be destroyed before the monitor actually stops. --- src/lxc/lxc_monitor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lxc/lxc_monitor.c b/src/lxc/lxc_monitor.c index d828d52..de63f9e 100644 --- a/src/lxc/lxc