On Thu, Dec 21 2006, Ming Zhang wrote: > On Thu, 2006-12-21 at 10:19 -0500, Ming Zhang wrote: > > Hi All > > > > I noticed that setup_file() called ms_alloc() to malloc a memory but > > never use it or check the return value. so valgrind complain a memory > > leak here. any idea? > > > > Ming > > > > my fault. found that this allocated structure is used. > > shall we cleanup it explicitly, or leave to OS to do cleanup like now?
Just leave it to the OS. -- Jens Axboe - To unsubscribe from this list: send the line "unsubscribe linux-btrace" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
