set errno for duplicated mount
free response memory