lxclock: indentation

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
lxclock: fix coverity-found leak

if sem_init fails, free what we mallocd.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
af_unix.c: fix coverity-found bug: pass addr size

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
lxcccontainer: add missing va_end found by coverity

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
lxccontaienr: fix missing va_end in error case.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
ifdef out skipped startone test code

Unfortunately installing a working lxc-init is somewhat hairy and
distro-dependent.  So we skipped it before, but Coverity didn't
like that, so just ifdef it out.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
lxc_monitor: make sure msg.name is null terminated (bug found by coverity)

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
lxcapi_create: fix leak of tpath when a container already exists

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
genl.c: fix a resource leak found by coverity

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
fix resource leak of utsname in error path found by coverity

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
fix resource leak of netdev on error path found by coverity

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
fix free of alloca()d buffer (found by coverity)

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
fix coverity-found resource leaks in config_network_ipv6

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
fix coverity-found resource leaks on error paths.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
coverity resource leak fixes

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
fix coverity-found errors.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
python: Lots of fixes

Fixes a lot of issues found by a code review done by Barry Warsaw.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>