]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Avoid deleting NULL veth device name
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 2 Oct 2013 10:26:59 +0000 (11:26 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 3 Oct 2013 10:28:08 +0000 (11:28 +0100)
commit8766e9b5a56109155b5c952af91d384d7e0555ec
tree2a36b7bb55dc3e98761adca01ec6104c8a057815
parent10caf94ddc568d36561d89ca28fe0c58154a50f9
Avoid deleting NULL veth device name

If veth device allocation has a fatal error, the veths
array may contain NULL device names. Avoid calling the
virNetDevVethDelete function on such names.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/lxc/lxc_process.c