genode/repos/os/recipes/pkg/test-init
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
..
archives Archive recipes for autopilot tests 2018-11-16 15:07:53 +01:00
hash depot: update recipe hashes 2022-05-25 12:23:04 +02:00
README Archive recipes for autopilot tests 2018-11-16 15:07:53 +01:00
runtime sandbox: prevent non-empty list model on destruction 2022-08-10 13:33:00 +02:00

Test for the init component.