]> git.ipfire.org Git - thirdparty/lxc.git/commit
cgmanager get/set: clean up child (v2)
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 15 Aug 2014 19:22:02 +0000 (19:22 +0000)
committerStéphane Graber <stgraber@ubuntu.com>
Sat, 16 Aug 2014 01:05:09 +0000 (21:05 -0400)
commit9e43c352326d8fa266f6e440c3bc8c99ba9574e5
tree0aa24c0f2d727143035c5d75bdf5d5d23f3dee4e
parent1c1bb85ad2b6dd2f67244da1f2367c70e83aa343
cgmanager get/set: clean up child (v2)

(Thanks, Dwight, this one look right?)

Make sure we reap our child at cgm_{s,g}et.

Changelog: Fix change in behavior on empty read from the do_cgm_get()
           helper that was spotted by Dwight.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Dwight Engen <dwight.engen@oracle.com>
src/lxc/cgmanager.c