diff options
author | Balbir Singh <balbir@linux.vnet.ibm.com> | 2008-10-15 04:20:29 +0000 |
---|---|---|
committer | Balbir Singh <balbir@linux.vnet.ibm.com> | 2008-10-15 04:20:29 +0000 |
commit | 24ab0821ee1bf644e08aeff6c0ea7429249412be (patch) | |
tree | 7e30c0fecb141d4005e6e1bde8eba429dd67c87a /config.c | |
parent | 93916877edf5104352ee7a7136d55d5c0fe57001 (diff) | |
download | libcg-24ab0821ee1bf644e08aeff6c0ea7429249412be.tar.gz libcg-24ab0821ee1bf644e08aeff6c0ea7429249412be.tar.xz libcg-24ab0821ee1bf644e08aeff6c0ea7429249412be.zip |
Merge several bug-fixes and cleanups. No version bump yet, since this is
an ongoing exercise (after more testing, I'll recommend one).
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@216 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -203,6 +203,8 @@ int cgroup_config_group_task_perm(char *perm_type, char *value) config_cgroup->tasks_gid = val; } + free(perm_type); + free(value); return 1; group_task_error: @@ -267,6 +269,8 @@ int cgroup_config_group_admin_perm(char *perm_type, char *value) config_cgroup->control_gid = val; } + free(perm_type); + free(value); return 1; admin_error: |