added missing virtual destructor causing a memory leak

This commit is contained in:
csoler 2017-03-09 20:59:01 +01:00
parent 1f8fd95dbf
commit 5b819ebd7a

View File

@ -159,6 +159,7 @@ class RsTurtleGenericTunnelItem: public RsTurtleItem
{
public:
RsTurtleGenericTunnelItem(uint8_t sub_packet_id) : RsTurtleItem(sub_packet_id), direction(0), tunnel_id(0) { setPriorityLevel(QOS_PRIORITY_RS_TURTLE_GENERIC_ITEM);}
virtual ~RsTurtleGenericTunnelItem() {}
typedef uint32_t Direction ;
static const Direction DIRECTION_CLIENT = 0x001 ;