Skip to content

PrrtPacket_copy should be shallow

At the moment PrrtPacket_copy copies the complete packet. In all use cases the copy does not need to be deep, but a reference sufficies.

Hence, there should be reference counting in PrrtPacket (copy just increases a counter, destroys reduces it).