genode/repos/os
Christian Helmuth 9a47f7bf71 sandbox: prevent non-empty list model on destruction
The parent-provides model is destroyed if no <parent-provides> node is
found in the configuration, which resulted in

  Warning: list model not empty at destruction time

and leaking memory for the allocated nodes. The commit now explicitly
empties the list model in the destructor of ~Parent_provides_model.

Note, the case is implicitly tested in pkg/test-init by step "denial of
forwarded session request" and <init_config version="empty">.

Thanks to Peter for reporting this issue.

Fixes #4547
2022-08-10 13:33:00 +02:00
..
doc Remove SIGNAL/CAP/RAM services from run scripts 2022-04-13 08:08:00 +02:00
include genode_c_api: key-press/release and relative-motion events 2022-08-10 13:33:00 +02:00
lib vfs: implement plugin for 'Capture' session 2022-04-13 09:29:03 +02:00
recipes sandbox: prevent non-empty list model on destruction 2022-08-10 13:33:00 +02:00
run rtc_drv: log 'set time' message on verbose 2022-08-10 13:32:59 +02:00
src sandbox: prevent non-empty list model on destruction 2022-08-10 13:33:00 +02:00
xsd Remove NIC server role from drivers 2022-05-25 12:19:31 +02:00
README API documentation refinements 2017-05-31 13:16:21 +02:00

This source-code repository contains genuine low-level OS components and
interfaces of Genode. It solely depends on the framework's base API.