]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: use common code for process cleanup
authorEric Blake <eblake@redhat.com>
Fri, 21 Oct 2011 17:09:23 +0000 (11:09 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 3 Nov 2011 14:44:19 +0000 (08:44 -0600)
commit8aee48bdaafd2ffe4978652de8c9d8d5f56c5d58
tree3a669f4fa2328510affc1d4fca23087d7f726d7d
parent209c2880b918a80449d42845ca1fd1497f2ec2da
lxc: use common code for process cleanup

Based on a Coverity report - the return value of waitpid() should
always be checked, to avoid problems with leaking resources.

* src/lxc/lxc_controller.c (lxcControllerRun): Use simpler virPidAbort.
src/lxc/lxc_controller.c