mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-02 20:16:48 +00:00
packet stream: clean range allocator in destructor
This commit is contained in:
parent
56a7d00a44
commit
e73a71be12
@ -550,6 +550,12 @@ class Packet_stream_source : private Packet_stream_base
|
|||||||
_bulk_buffer_size);
|
_bulk_buffer_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
~Packet_stream_source()
|
||||||
|
{
|
||||||
|
_packet_alloc->remove_range(_bulk_buffer_offset,
|
||||||
|
_bulk_buffer_size);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the size of the bulk buffer.
|
* Return the size of the bulk buffer.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user