class do not hold the pointer passed, but create another. So I need free my