Fixed other instances of the xrealloc(0) bug.

2 files changed