A note on the duality of locally compact groups