]> xenbits.xensource.com Git - libvirt.git/commit
lxc: Don't return early in virLXCProcessSetupInterfaces
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 27 Jul 2018 12:32:36 +0000 (14:32 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 27 Jul 2018 12:32:36 +0000 (14:32 +0200)
commit6d4163a03e89beeabc9c843851ea7ffcae2b11fc
treef400db4bb058617c864934ffeabc748cb718a4e7
parentdeb057fd364cb57614c6dea7b05c247231f9ae4f
lxc: Don't return early in virLXCProcessSetupInterfaces

There are two places in the loop body that just return instead of
jumping onto the cleanup label. The problem is the cleanup code
is not ran in those cases.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/lxc/lxc_process.c