mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 14:37:50 +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);
|
||||
}
|
||||
|
||||
~Packet_stream_source()
|
||||
{
|
||||
_packet_alloc->remove_range(_bulk_buffer_offset,
|
||||
_bulk_buffer_size);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the size of the bulk buffer.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user