Fixing bugs and more compact at the same time! I didn't see anything
obviously wrong with what you've done, but the patch is incomplete, as I
now get a compiler warning - you removed the last use of vshRealloc, so
you have even more lines of code to remove!