mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-29 14:32:58 +02:00
i2c: correct missing destruction
This commit is contained in:
parent
434ae67d99
commit
aa7ed49d2d
@ -38,6 +38,7 @@ namespace ams::i2c::driver::board::nintendo_nx::impl {
|
||||
T *obj = std::addressof(*it);
|
||||
it = this->list.erase(it);
|
||||
|
||||
obj->~T();
|
||||
this->memory_resource->Deallocate(obj, sizeof(T));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user