cgroup_get_cgroup: remove bogus comment

Signed-off-by: Ivana Hutarova Varekova <varek...@redhat.com>
---

 src/api.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/api.c b/src/api.c
index 8e765a9..98eea29 100644
--- a/src/api.c
+++ b/src/api.c
@@ -2392,10 +2392,6 @@ int cgroup_get_cgroup(struct cgroup *cgroup)
        pthread_rwlock_rdlock(&cg_mount_table_lock);
        for (i = 0; i < CG_CONTROLLER_MAX &&
                        cg_mount_table[i].name[0] != '\0'; i++) {
-               /*
-                * cgc will not leak, since it has to be freed using
-                * cgroup_free_cgroup
-                */
                struct cgroup_controller *cgc;
                struct stat stat_buffer;
                int path_len;


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to