Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/nfs



On Wed, 28 May 2003, David Laight wrote:

> On Wed, May 21, 2003 at 02:41:27PM +0000, YAMAMOTO Takashi wrote:
> >
> > Module Name:        src
> > Committed By:       yamt
> > Date:               Wed May 21 14:41:27 UTC 2003
> >
> > Modified Files:
> >     src/sys/nfs: nfs_socket.c nfs_syscalls.c
> >
> > Log Message:
> > - use FREE not free for MALLOC'ed memory.
>
> Erm why????

Because if you use MALLOC, you're supposed to use FREE. If you want to use
free(), you must use malloc(), not MALLOC().

Take care,

Bill




Home | Main Index | Thread Index | Old Index