Fixed minor memory leaks in wsh-add-hostkeys