Use talloc for row memory