]> git.ipfire.org Git - thirdparty/lxc.git/commit
Free allocated configuration memory
authorDwight Engen <dwight.engen@oracle.com>
Mon, 26 Nov 2012 17:18:06 +0000 (12:18 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 26 Nov 2012 18:13:47 +0000 (13:13 -0500)
commitd95db067d28dd0480c2bd71f85668fa8d37e9064
tree07f00f63dcdaf7e67fd8181c026453500a6c7ea9
parent9ebb03ad4abdd5642e330d73cf339bcbb72c29c1
Free allocated configuration memory

Most of these were found with valgrind by repeatedly doing lxc_container_new
followed by lxc_container_put. Also free memory when config items are
re-parsed, as happens when lxcapi_set_config_item() is called. Refactored
path type config items to use a common underlying routine.

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