]> git.ipfire.org Git - thirdparty/lxc.git/commit
attach: use __do_free cleanup macro for cwd
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 27 Jan 2021 19:28:35 +0000 (20:28 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 27 Jan 2021 19:52:38 +0000 (20:52 +0100)
commite11f5b8c91ef585e5764a32498a716b9813fcf47
tree109d7c9902f32092f48ebf449c4df5f32bdaee9a
parent4f25e72fb01a60dbe2d3be195582bab1fbd9707c
attach: use __do_free cleanup macro for cwd

but still yield memory immediately once we're done with it to not have it lying
around while the parent process is around.

Cc: stable-4.0
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/attach.c