John Mark Bell 000e6ad3de It turns out that realloc(ptr, 0) --> free(ptr) is not actually required by the C standard (whereas realloc(NULL, size) --> malloc(size) is).
Therefore, explicitly model the behaviour expected by our libraries (that realloc of 0 size is equivalent to free).

svn path=/trunk/netsurf/; revision=10524
2010-04-30 07:00:58 +00:00
..
2010-04-04 12:41:19 +00:00
2010-04-04 12:41:19 +00:00
2010-04-07 13:12:27 +00:00
2009-11-22 13:53:44 +00:00
2010-04-04 12:41:19 +00:00
2010-04-04 12:41:19 +00:00