cvs commit: src/usr.bin/mkfifo mkfifo.c
Liam J. Foy
liamfoy at sepulcrum.org
Wed Mar 2 11:28:44 PST 2005
On Wed(02)/Mar/05 - , Matthew Dillon wrote:
>
> :
> :liamfoy 2005/03/02 09:32:06 PST
> :
> :DragonFly src repository
> :
> : Modified files:
> : usr.bin/mkfifo mkfifo.c
> : Log:
> : - Make sure we free() 'modep' after setmode()
> : - Add stdlib.h for both free() and exit()
> :
> : Revision Changes Path
> : 1.5 +3 -1 src/usr.bin/mkfifo/mkfifo.c
> :
> :
> :http://www.dragonflybsd.org/cvsweb/src/usr.bin/mkfifo/mkfifo.c.diff?r1=1.4&r2=1.5&f=u
>
> It's about to exit, there's no reason to free(modep), it just wastes
> cycles unnecessarily.
>
> -Matt
> Matthew Dillon
> <dillon at xxxxxxxxxxxxx>
Fixed
--
- Liam J. Foy
<liamfoy at xxxxxxxxxxxxx>
http://www.bsd-systems.co.uk
More information about the Commits
mailing list