On Sun, Jan 04, 2009 at 09:03:29PM +0530, Dhaval Giani wrote: > > libcgroup: Fix memory leak in cg_mkdir_p > > While reading the code, I realized that we were never allocating memory > to buf in cg_mkdir_p. On reading the manpages, I realized that getcwd > allocates memory, but it has to be freed by the caller. Fix this > memory leak. > > Signed-off-by: Dhaval Giani <[email protected]>
This patch is wrong. Though there is a bug here. Since we have not allocated any memory to buf, but are using it later on. I am a bit confused on how to fix this, I will work on this a bit more, and then send the correct fix. For now, please ignore this patch. thanks, -- regards, Dhaval ------------------------------------------------------------------------------ _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
