All the function generators I have seen have had heat sinks on the output transistors, they will be working fairly hard generating high output voltages into low load impedances.
Half a watt is not huge, but it will definitely need help from a heat sink.