Don't call realloc with size=0 to free data.
Don't call realloc with size=0 to free data.

Newer versions of the C spec and POSIX have changed the behavior of
realloc called with size 0 to be implementation defined.

ccxvii/mujs,ccxvii/mujs,ccxvii/mujs,ccxvii/mujs