[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: kio_sftp rewrite
From: Albert Astals Cid <aacid () kde ! org>
Date: 2009-08-10 10:40:49
Message-ID: 795110.15200.qm () web27205 ! mail ! ukl ! yahoo ! com
[Download RAW message or body]
> Asunto: Re: kio_sftp rewrite
> -0400, Ben Boeckel wrote:
> > free() [....] should not crash on NULL
> >
> wrong
>
Not wrong:
[1] Linux: If ptr is NULL, no operation is performed.
[2] SCO: If ptr is a null pointer, no action occurs
[3] Microsoft: If memblock is NULL, the pointer is ignored and free immediately returns.
[4] FreeBSD: If ptr is NULL, no action occurs.
[1] http://linux.die.net/man/3/free
[2] http://www.opengroup.org/onlinepubs/7990989775/xsh/free.html
[3] http://msdn.microsoft.com/en-us/library/we1whae7%28VS.80%29.aspx
[4] http://www.manpages.info/freebsd/free.3.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic