mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 02:01:38 +00:00
os: avoid warning in platform driver
calling wrong destructor issued by clang/llvm static analyzer Issue #3022
This commit is contained in:
parent
c2d54aaede
commit
9bb0e10eec
@ -242,7 +242,7 @@ class Platform::Device_component : public Genode::Rpc_object<Platform::Device>,
|
||||
{
|
||||
if (_irq_session) {
|
||||
_env.ep().rpc_ep().dissolve(_irq_session);
|
||||
_irq_session->~Irq_session();
|
||||
_irq_session->~Irq_session_component();
|
||||
}
|
||||
|
||||
for (unsigned i = 0; i < Device::NUM_RESOURCES; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user