MFC r275446: Plug memory leaks on UNMAP and XCOPY with invalid parameters.
MFC r275452: Do not corrupt the listen string when parsing it.

This fixes problem with ctld reload when it is configured to listen on two
portals with same IP, but different ports.