jail: leak less memory
authorDaniel Golle <daniel@makrotopia.org>
Tue, 24 Nov 2020 21:03:12 +0000 (21:03 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 27 Nov 2020 01:05:03 +0000 (01:05 +0000)
commit3019f50f624cf63e1d877a5bae7c43130db1229b
tree344bd6340400d15408a9a5ce22ef56ad62d4405e
parente935c0c043b12415fa36aca01cfc757cadb9fac4
jail: leak less memory

Always free everything before exiting, clean up dynamic structures,
add missing free() calls in various places, ...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
jail/cgroups.c
jail/cgroups.h
jail/elf.c
jail/elf.h
jail/fs.c
jail/fs.h
jail/jail.c