]> xenbits.xensource.com Git - libvirt.git/commit
lxc: Use VIR_AUTOPTR for @veths in virLXCProcessStart
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 26 Jul 2018 15:33:01 +0000 (17:33 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 27 Jul 2018 15:07:23 +0000 (17:07 +0200)
commit06b90ed407dddd2a10e2660b0a7ff5a80f970d99
treecddb449de73884a9b054e6f3e52a27b2177f9bf6
parent3211936b34c9e0f0d73d6ff795c938278957a0b4
lxc: Use VIR_AUTOPTR for @veths in virLXCProcessStart

Now that we have VIR_AUTOPTR and that @veths is a string list we
can use VIR_AUTOPTR to free it automagically.

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