Plug memory leaks on UNMAP and XCOPY with invalid parameters.

MFC after:	1 week