It means that the person will return in an hour – although such a casual expression may indicate that the person maycould be away longer than that. Or less time than that ...
But it definitely does not mean that the person intends to leave in an hour's time.