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
..
2022-04-13 08:07:57 +02:00
2022-04-13 08:07:57 +02:00
2021-12-17 15:04:45 +01:00
2021-12-17 15:04:45 +01:00
2021-10-14 11:02:12 +02:00
2022-04-13 08:07:57 +02:00