Le 01/12/2012 10:02, rustyBSD a écrit :
> We can also fix leaks.
> 
> 
> I.  Removed useless 'buf[sizeof(buf) - 1] = 0;', fgets()
>     already does that
> 
> II. Ensure file descriptors are closed before 'goto error'
> 
> III.We don't need to nullcheck before freeing a buf, as it's
>     already done by free()

So, what's new ?

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to