Fix Coverity CID #55451:  Resource leak in ftp_session()

On error in getsockname() or getpeername() we should free the ctrl
pointer, even though we do exit immediately afterwards.

Signed-off-by: Joachim Nilsson <joachim.nilsson@westermo.se>