If the function does not store the pointer somewhere for a future use, just pass plain pointer to it.