Re: [lxc-devel] [PATCH] Free allocated configuration memory

2012-11-26 Thread Stéphane Graber
On 11/26/2012 01:07 PM, Serge Hallyn wrote: > Quoting Dwight Engen (dwight.en...@oracle.com): >> 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

Re: [lxc-devel] [PATCH] Free allocated configuration memory

2012-11-26 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > 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

[lxc-devel] [PATCH] Free allocated configuration memory

2012-11-26 Thread Dwight Engen
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: Dwi