[libvirt] [PATCH v2]daemon: Fix a crash during virNetlinkEventServiceStopAll

2019-06-12 Thread Liu Haitao
he variable server is used again, but now it is null that is freed by virNetlinkEventServiceStopAll().So it would case a crash . The virNetlinkEventServiceStopAll() should be executed behind virStateCleanup(), Signed-off-by: Liu Haitao --- src/remote/remote_daemon.c | 4 ++-- 1 file changed, 2 i

[libvirt] [PATCH]daemon: Fix a crash during virNetlinkEventServiceStopAll

2019-06-10 Thread Liu Haitao
?? () from /usr/lib64/libvirt.so.0 7 0x7fb0d19533f4 in start_thread (arg=0x7fb0be17b700) at /usr/src/debug/glibc/2.24-r0/git/nptl/pthread_create.c:456 8 0x7fb0d128f10f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105 Signed-off-by: Liu Haitao --- src/remote/remote_daem