]> xenbits.xensource.com Git - libvirt.git/commit
qemu_driver.c: avoid NULL dereference upon disk-op failure
authorJim Meyering <meyering@redhat.com>
Wed, 16 Dec 2009 13:15:50 +0000 (14:15 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 5 Jan 2010 16:25:19 +0000 (17:25 +0100)
commiteebf932e9418b8a626488ced40294e4f5d580e49
treea3435a294d1328f655b92eea140d39759ce1646a
parentc1237818d26ac7a7c50e87b441c8f90c44535a74
qemu_driver.c: avoid NULL dereference upon disk-op failure

* src/qemu/qemu_driver.c (qemudDomainAttachDevice): Call
virCgroupDenyDevicePath only if cgroup is non-NULL.
src/qemu/qemu_driver.c