Don't assume realloc() can handle NULL pointers (backport from trunk)
[mmh] / DATE
1  4 May 2008