Hi Balbir, Balbir Singh wrote: >> I tested a cgrlesengd daemon with huge load, which makes many 'su', >> in long time. And the daemon was killed by an OOM killer. So the >> daemon has memory leak. This patch fixes this problem. >> >> The daemon allocates memory at cg_prepare_cgroup(), but it does not >> free the memory. This patch adds necessary free() to cgroup_change_ >> cgroup_path by calling cgroup_free_controllers(). In addition, this >> patch adds free()s for handling error and flushes the counters of the >> allocations in cgroup_free_controllers(). >> >> > > Thanks, Applied!
Thank you for applying. > Dhaval agreed to make the necessary changes when he touches the code. > Please pull and test. I confirmed this memory leak problem is fixed with the latest code. Thanks Ken'ichi Ohmichi ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
