r9965 vince - in /trunk/netsurf/desktop: browser.c browser.h

Bernd Roesch nospamname at gmx.de
Thu Feb 11 13:44:28 GMT 2010


Hello 

On 11.02.10, you wrote:

> 
> A good question...I kinda assumed the C default behaviour...ummm if
> anyone has an issue with this in a build can they let me know? if it
> is an issue I will of course fix it.

free can use with 0 Pointer and should do nothing as the ISO 9899 say

http://www.open-std.org/JTC1/SC22/wg14/www/docs/n1124.pdf

there is only a diffrence possible in malloc.when call malloc with size 0
its possible to return 0 or a pointer.


Regards




More information about the netsurf-dev mailing list